MATLAB Answers

I have 2 different signals on a Amp(dB) vs (Hz) obtained after fft of exp data.These signals are over the same freq range but have different amplitude values. How can i calculate the attenuation of one signal as compared to the other?

4 views (last 30 days)
Abhijeet Chandra
Abhijeet Chandra on 20 Jan 2020
Answered: Kaashyap Pappu on 23 Jan 2020
I have 2 different signals on a Amplitude(dB) vs frequency(Hz) obtained after fft of experimental data.These signals are over the same freq range but have different amplitude values over the given frequency range. How can i calculate the attenuation of one signal as compared to the other? Also these are available on two different graphs.

  0 Comments

Sign in to comment.

Answers (1)

Kaashyap Pappu
Kaashyap Pappu on 23 Jan 2020
Assuming the data is in a vector, you can use the findpeaks function to find the required peaks and their array indices. Given that the data is in the logarithmic scale, the difference in power values would be the attenuation required.
If you wish to visually observe the difference, plot both vectors on the same figure and assign different colors to each plot.
A similar question has been raised here.
Hope this helps!

  0 Comments

Sign in to comment.


Translated by