Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
420 B
1
Indexable
Never
x1 =[ 0.508, 0.507, 0.507, 0.507, 0.506, 0.504, 0.502, 0.495 ,0.483, 0.46, 0.449, 0.446, 0.440, 0.425, 0.410, 0.376, 0.246, 0.112  ];
y1 = [8, 9, 10, 11, 14, 18, 25, 42, 73, 117, 132, 135, 141, 154, 163, 175, 188, 192];
p = x1.*y1;

figure()
plot(x1, y1);
title("Temperature =  55C")
ylabel("Forward Voltage (V)")
xlabel("Fowards Current mA")

hold on;
plot(x1,p);
legend('Voltage','Power','FontSize',12)