Optical signal intensity detection by Photodiode
3 views (last 30 days)
Show older comments
I am trying to calculate the detected intensity of a photodiode (PD). The signal is supposed to be a pulse with a given shape which I determine through the simulation, defined over a time period, e.g.
x(t)=J(1,t); %Bessel type 1
The photodiode impulse response is a kind of trapezoid which I define along the same time range and multiply it by intensity of the signal
abs(x(t)).^2.
As far as I have understood, the value recorded by PD is the integral of the product over time, as I do
trapz(t,abs(x(t)).^2*trapezoid).
I wanna compare this value (detected by PD) with the peak intensity. Could anyone help me please with this question?
Thanks
0 Comments
Answers (1)
Pavel Dey
on 20 Jan 2016
What I understood from your problem is that you want to compare the values of two array in MATLAB. To find out the maximum of intensity you may simply use 'max' function. You can plot the PID data using 'plot' function. Or if you want to visualize the data over time you can simply plot the difference by
>> plot(abs(PID_data-x));
If your query is something else you may rephrase the question in the comments. Someone form the community might answer.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!