normldc
The normldc function normalizes a given luminous intensity distribution struct to cd/klm.
Usage:
ldc = normldc(ldc)
Where:
| Parameter | Description | 
| ldc | Is the ldt struct containing EULUMDAT file information: ldt.name – gives the luminiare name information ldt.header – contains the file header information ldt.anglesC – contains the C angles ldt.anglesG – contains the angles ldt.I – contains the corresponding luminous intensities | 
Read, adjust, normalize and plot a ldt file:
% Import Lambert ldt
ldc = readldt('lambert.ldt');
% Manipulate luminous intensity distribution
ldc.I = ldc.I.*cosd(ldc.anglesG);
ldc.name = 'luminaire';
% Normalize luminous intensity again
norm_ldc = normldc(ldc);
% Plot normalized ldc
plot2dldc(norm_ldc)
Result:

Hello Rudawski,
thank you so much for your contribution of this Toolbox.
i used this function (Normldc)in matlab, i copy your code in matlab
% Import Lambert ldt
ldc = readldt(‘lambert.ldt’);
% Adjust luminous intensity distribution
ldc.I = ldc.I.*cosd(ldt.anglesG);
ldc.name = ‘luminaire’;
% Normalize luminous intensity
norm_ldc = nomldc(ldc);
% Plot normalized ldc
plot2dldc(norm_ldc)
but it shows “nable to resolve the name ‘ldt.anglesG’.”
My bad, there were two typos in the example code. It is now fixed and works.