Optical signal intensity detection by Photodiode
조회 수: 4 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Pavel Dey
2016년 1월 20일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Digital Filter Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!