FFT on matrix dataset

12 visualizzazioni (ultimi 30 giorni)
sri ram
sri ram il 5 Feb 2021
Commentato: KALYAN ACHARJYA il 11 Feb 2021
How do I calculate fft on the matrix dataset (M1.mat) and plot it?

Risposte (1)

KALYAN ACHARJYA
KALYAN ACHARJYA il 5 Feb 2021
Modificato: KALYAN ACHARJYA il 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 Commenti
sri ram
sri ram il 5 Feb 2021
Modificato: sri ram il 5 Feb 2021
the resultant fft for M1.mat has Naan+Naani as elements. Why is that?

Accedi per commentare.

Categorie

Scopri di più su Fourier Analysis and Filtering in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by