I have a file saved in matlab workspace. I want to find out the FFT of that stored data? How can i do that

1 view (last 30 days)
I have a simulink scope data stored in Matlab Workspace. i wan to find out the FFT of that stored data which contains time and Signal values. Please help me.

Answers (1)

Fangjun Jiang
Fangjun Jiang on 28 Sep 2016
There is a MATLAB function called fft().
help fft
  1 Comment
Sachin Hegde
Sachin Hegde on 28 Sep 2016
Edited: Sachin Hegde on 5 Oct 2016
Thank you for your answer. I have tried using that. For Explanation, I have the time stored in a varibale "t" and values of the signals are stored in variable "d". What code should I write if I want to compute FFT Analysis as shown with the attached Image.

Sign in to comment.

Products

Community Treasure Hunt

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

Start Hunting!