FFT on matrix dataset
2 views (last 30 days)
Show older comments
How do I calculate fft on the matrix dataset (M1.mat) and plot it?
0 Comments
Answers (1)
KALYAN ACHARJYA
on 5 Feb 2021
Edited: KALYAN ACHARJYA
on 5 Feb 2021
data_mat=load('filename.mat');
fft_result=fft(data_mat)
Please carefully check the size and details of the loaded mat file.
See the Matlab Doc FFT function here
Plot, hope you can do that
If variable are 1 D
Use plot()
2D Variable See the surf function
There are multiple ways of data visualization (plot function), check the dimentions of the plot variables and plot accordingly as per your requirement.
2 Comments
See Also
Categories
Find more on Fourier Analysis and Filtering in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!