MATLAB: Taking frequency of a signal portrayed as a 1D-array

arrayduranfrequency

I have a signal portrayed as a 1D-array(2500002 elements) and I want to take its frequency and I have no idea how.
Thanks in advance!
Zoomed

Best Answer

The fft function will do what you want.
Pay special attention to the code between the top two figures in the documentation.