% Data format is:

% V(Volts)   I(mA)  Intensity(microW)

data = [0   0   .128;

        1   0   .130;

        2.5 50  25;

        2.8 100 491;

        3   150 890;

        3.2 200 1330;

        3.4 250 1530];

 

subplot(211);

plot(data(:,1),data(:,3),'o','markersize',5); hold on;

plot(data(:,1),data(:,3));

grid on;

xlabel('Applied voltage (V)');

ylabel('Output intensity ({\mu}W)');

title('Measured intensity as function of voltage');



subplot(212);

plot(data(:,1),data(:,2),'o','markersize',5); hold on;

plot(data(:,1),data(:,2));

grid on;

xlabel('Applied voltage (V)');

ylabel('Current through diode (mA)');

title('I-V characteristics of Thorlabs DL3147-60 laser diode');

