frudawski

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:

  1. Download the Lighting Toolbox and move it to a location of your choice.
  2. Start Matlab
  3. 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”
  4. 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:

  1. Download the Lighting Toolbox and move it to a location of your choice.
  2. Start GNU Octave
  3. Add the Lighting Toolbox to Octave’s search path:
    • type: “addpath(‘path_to_lighting_toolbox/functions’)” in the command window
  4. Optional: install image package:
    • Type: “install package -forge image” in the command window
    • Recommended: load image package at startup:
      1. Type: “edit octaverc” in command window
      2. Add line: “pkg load image” to octaverc file
      3. Save -> close Octave -> start Octave
  5. 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