Just one comment: for any complex z, z times conjugate(z) used in the 2nd method is equal to abs(z) squared used in the 1st method. For exampe, |1+i|^2=(sqrt(1+1))^2=2=(1+i)*(1-i)=1+1=2
I have a doubt. The scaling factor in other matlab program I saw like this 1/fs*N *(abs(fft)^2). Why insted of bin (1/fs*N) Which Is correct. and(fft)^2 is ok .it is equal to conjugate part Pls answer
Hi, thanks for the video Could you please also show how to create CPSD from FFT in MATLAB? I'm trying to implement it but my results are not matching cpsd's function from MATLAB
I followed the example for my data but at the end I could get any plot for that! And I got the error about f1 #Index exceeds the number of arry elements. Index must not exceed 1# To be honest I am new in matlab. So I would appreciate if you help me by that. Thank you
great video thx so much
please provide the code here
Just one comment: for any complex z, z times conjugate(z) used in the 2nd method is equal to abs(z) squared used in the 1st method. For exampe, |1+i|^2=(sqrt(1+1))^2=2=(1+i)*(1-i)=1+1=2
How can I calculate the power spectrum for a GPS time series (date vs displacement). I need plots like Normalized power vs frequency (per year).
I have 15 years Temperature vs height data in excell, so how can I find fs and how plot it
Thank you, Kayt. I hope to get the script of the file.m please for this example?
I have a doubt.
The scaling factor in other matlab program I saw like this
1/fs*N *(abs(fft)^2).
Why insted of bin (1/fs*N)
Which Is correct.
and(fft)^2 is ok .it is equal to conjugate part
Pls answer
Hi, thanks for the video
Could you please also show how to create CPSD from FFT in MATLAB? I'm trying to implement it but my results are not matching cpsd's function from MATLAB
thank you
I followed the example for my data but at the end I could get any plot for that! And I got the error about f1 #Index exceeds the number of arry elements. Index must not exceed 1#
To be honest I am new in matlab. So I would appreciate if you help me by that.
Thank you
How can you know the number of frequency bin?
Frequency content must be within the sampling frequency
how to do the same for ECG signal?
if anyone has code for that can provide.
How to find power spectral density for an image ?