필터 지우기
필터 지우기

regarding conversion of time domain data to frequency domain having large values like 4096

조회 수: 1 (최근 30일)
I have 4096 values in time domain. i want to convert them to frequency domain using fft.how to convert them? should i select small small samples of values(ex; 1st 10 next 10 like that till 4096) and convert or should i select single value or should i select all 4096 values alltogether and convert them. please help me in this regard.

답변 (2개)

Arturo Moncada-Torres
Arturo Moncada-Torres 2011년 5월 16일
Well, it all depends on what you want. At first glance, I suppose using all 4096 values will be correct:
% Suppose you have the 4096 values in array "x"
x_fft = fft(x); % Fourier Transform (complex)
x_mag = abs(x_fft); % Magnitude
x_pha = angle(x_fft); % Phase
Hope it helps ;-) !

Arnaud Miege
Arnaud Miege 2011년 5월 16일
Also look at this similar question.
HTH,
Arnaud

카테고리

Help CenterFile Exchange에서 Matched Filter and Ambiguity Function에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by