blob: cec5a4fccc192eba237552fd9e2c612c53f06c07 (
plain)
1
2
3
4
5
6
|
// Example 1.7.a : photocurrent
clc, clear
r=0.85; // reponsivity of a photodiode in apmere per watt
p1=1; // incident light power in milli watt
Ip=r*p1;
disp(Ip,"photocurrent (mA) = ")
|