function [ led ] = led_data() % LED_DATA returns a list of voltage and current data for some real LEDs. % Use led{i}.V, led{i}.I, led{i}.name, led{i}.color to access the % voltage, current, string naming the LED, and color string. % Data from Hans Summers, www.hanssummers.com red5mm.name = '5mm red'; red5mm.color = 'r'; red5mm.V=[1.612 1.619 1.629 1.636 1.643 1.65 1.657 1.665 1.672 1.68 1.685 1.69 1.693 1.696 1.7 1.73 1.76 1.77 1.8 1.84 1.88 1.92 1.94 1.98 2.01 2.05 2.09 2.16]; red5mm.I=[0.336 0.392 0.485 0.562 0.647 0.753 0.86 1.01 1.17 1.35 1.48 1.63 1.73 1.83 2 3.3 4.6 6.2 8.1 11 13.4 16.9 19.3 22.8 25.3 28.7 33.4 39.7]; green5mm.name = '5mm green'; green5mm.color = 'g'; green5mm.V=[1.79 1.82 1.84 1.89 1.91 1.93 1.95 2.01 2.06 2.15 2.24 2.29 2.37]; green5mm.I=[0.32 0.66 1.11 2.14 3.08 3.71 5.13 8.64 12.25 19.1 26.4 30.9 38.5]; white10mm.name = '10mm white'; white10mm.color = 'k'; white10mm.V=[2.49 2.51 2.55 2.57 2.58 2.59 2.6 2.6 2.61 2.62 2.63 2.64 2.65 2.66 2.67 2.68 2.7 2.72 2.73 2.76 2.79 2.84 2.85]; white10mm.I=[0.249 0.449 0.989 1.38 1.87 2.1 2.39 2.73 2.89 3.5 4.22 5.26 5.73 6.84 7.55 8.51 10.63 13.71 15.02 20.7 25.4 36 40]; led = {red5mm,green5mm,white10mm}; end