Filter löschen
Filter löschen

FFT on matrix dataset

2 Ansichten (letzte 30 Tage)
sri ram
sri ram am 5 Feb. 2021
Kommentiert: KALYAN ACHARJYA am 11 Feb. 2021
How do I calculate fft on the matrix dataset (M1.mat) and plot it?

Antworten (1)

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Fourier Analysis and Filtering finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by