How to Generate 12 random values and use the fft command in Matlab to find its 12-point DFT

조회 수: 2 (최근 30일)
how to Generate 12 random values and use the fft command in Matlab to find its 12-point DFT

답변 (1개)

Sriram Tadavarty
Sriram Tadavarty 2020년 4월 4일
Hi Riya,
You can generate random values with rand function and perform DFT with fft function.
Simply,
x = rand(12,1);
y = fft(x);
For more datils on random number generations, look here.
Hope this helps.
Regards,
Sriram

카테고리

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