i want to draw this DOP figure with these specific parametres

4 次查看(过去 30 天)

采纳的回答

Star Strider
Star Strider 2023-9-17
This probably represents a multi-exponential decay, because a single exponential doesn’t faithfully reproduce it.
I would need the signal itself rather than an image of it, to estimate all its parameters.
Fs = 1E+9;
L = 2E-6;
t = linspace(0, L*Fs, L*Fs+1)/Fs;
k = log(0.6)/0.2E-6;
s = -4*(exp(k*t) .* sin(2*pi*2.5/5E-7*t));
figure
plot(t, s.*heaviside(t-0.5E-6))
grid
ylim([-1 1.2])
.
  2 个评论
Ayoub
Ayoub 2023-9-17
the real signal contains noise and the aim is to remove the noise and compare it with the signal in the previous image.
the noising signal looks like this:
the parametres extracted were the folows:
The average rise time : 30 ns
decay time : 35ns
pulse width : 65ns
it is also mentioned that the equation used was this:
where A is the peak value and is assumed to be 1, t1 and t2 are damping
coefficients that determine the pulse waveform, and fc is the oscillatory frequency of DOP
Star Strider
Star Strider 2023-9-17
O.K.
In that instance, you need to calculate the fft of the original signal to understand where the noise is with respect to the signal peak (that should be centred about ).
A relatively easy way to do this is to either calculate the fft itself, or use the pspectrum function to estimate it.
Then use the bandpass function to filter it, eliminating the low-frequency baseline variation and the high-frequency noise. For bandpass and its friends, use the 'ImpulseResponse','iir' name-value pair to design an efficient elliptic filter to filter it. It may be necessary to threshold it, so initially eliminating the (relatively) constant section from 0 to 0.6 µs before filtering it. Another way to approach it would be to first use a lowpass filter to eliminate the high-frequency noise, and then a highpass filter to eliminate the baseline variation.
That is how I would approach it, at least initially, changing as necessary to get the most optimal result.
You can then experiment with the approach in Curve fitting to a sinusoidal function to estimate the parameters. It would be necessary to change the ‘fit’ function in that code to match the function, so you get the appropriate information from it.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Digital Filter Analysis 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by