This code is for the FFT of below waveform(Wave_example.csv).
Run the Matlab_FFT_example.m file.
And then, you could get the below graph.
If you activate below code, you could also get the ratio of 2nd order wave.
ratio2rd = Magnitude(1,3)/Magnitude(1,2) *100