Lighting Toolbox
for MATlaB and Octave
Version 1.03
Various functions for lighting research calculations, colorimetry, plotting, lighting control and measurements.

88
Functions
0
Comments
248
Examples

How to cite:
Rudawski, Frederic, Lighting Toolbox for Matlab and Octave, 2022, version 1.03, URL: https://frudawski.de/ligthing-toolbox/
Lighting Toolbox setup with MATLAB:
- Download the Lighting Toolbox and move it to a location of your choice.
- Start Matlab
- Add the Lighting Toolbox to Matlab’s search path:
- Type: “addpath(‘path_to_lighting_toolbox/functions’)” in the command window
- Or click “Set Path” button under Matlab HOME tab -> “Add Folder…” -> select folder -> confirm -> “Save”
- Test the Lighting Toolbox functionality:
- Type: “plotciexy” in the command window
- A plot of the CIE x and y chromaticity should appear
Lighting Toolbox setup with GNU Octave:
- Download the Lighting Toolbox and move it to a location of your choice.
- Start GNU Octave
- Add the Lighting Toolbox to Octave’s search path:
- type: “addpath(‘path_to_lighting_toolbox/functions’)” in the command window
- Optional: install image package:
- Type: “install package -forge image” in the command window
- Recommended: load image package at startup:
- Type: “edit octaverc” in command window
- Add line: “pkg load image” to octaverc file
- Save -> close Octave -> start Octave
- Test the Lighting Toolbox functionality:
- Type: “plotciexy” in the command window
- A plot of the CIE x and y chromaticity should appear
Changelog:
Version 1.03 – 21.06.2022
- Added HUE control functions
- Added LT_location file for personal location preference setting
- Adapted sunpos, south and TST function for personal location preference setting
- Rewritten south function for speed optimization
- Added weighting parameter to ciespec and ciecct2spec functions
Version 1.02 – 25.05.2022
- Updated plotpolarE and plotpolarCCT functions
- Added specsky function
Version 1.01 – 13.05.2022
- Added CIECAM02 and CIECAM02inv functions
Version 1.00 – 05.05.2022
- Initial release