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

2 views (last 30 days)
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

Accepted Answer

Star Strider
Star Strider on 28 Apr 2015
The fft function will do what you want.
Pay special attention to the code between the top two figures in the documentation.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!