FFT on matrix dataset

조회 수: 12 (최근 30일)
sri ram
sri ram 2021년 2월 5일
댓글: KALYAN ACHARJYA 2021년 2월 11일
How do I calculate fft on the matrix dataset (M1.mat) and plot it?

답변 (1개)

KALYAN ACHARJYA
KALYAN ACHARJYA 2021년 2월 5일
편집: KALYAN ACHARJYA 2021년 2월 5일
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
sri ram
sri ram 2021년 2월 5일
편집: sri ram 2021년 2월 5일
the resultant fft for M1.mat has Naan+Naani as elements. Why is that?
KALYAN ACHARJYA
KALYAN ACHARJYA 2021년 2월 11일

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by