Wolf sunspot number | Calculating the periodicity of sunspot number using FFT | MATLAB
Know more about Rudolf Wolf:
https://en.wikipedia.org/wiki/Rudolf_...
Dataset:
Yearly mean total sunspot number
http://www.sidc.be/silso/infossntotye...
Code after loading the data in z variable:
N=length(z);
y=fft(z,N);
e=y(1:floor(N/2)+1);
Fs=1;
f=linspace(0,Fs/2,floor(N/2)+1);
stem(f,abs(e));
No comments