Filter löschen
Filter löschen

Fast Fourier Transform (FFT) in a certain range of signal

7 Ansichten (letzte 30 Tage)
Jimmy
Jimmy am 22 Aug. 2015
Beantwortet: Star Strider am 22 Aug. 2015
Greetings, I have a signal which consist of one 1000000x1 array (data) and one 1000000x1 array (time) which has been 'cut' and looks like the figure below.
Is it possible for me to do Fast Fourier Transform(FFT) on that signal? If possible, how do I perform the FFT on this signal? Assuming the operating frequency is 1000Hz
The coding that I have done to cut the signal are a follows:
load('TestSig.mat');
[data_max,max_idx] = max(data); %Locating the maximum data value
time_at_max = time(max_idx); %Locating time at the maximum data value
left2 = data(max_idx-[120000:-1:1]); %Taking few samples at the left from the max value
right2 = data(max_idx+[1:200000]); %Taking few samples at the right from the max value
left2_time = time(max_idx-[120000:-1:1]) %Time of samples at the left from the max value
right2_time = time(max_idx+[1:200000]) %Time of samples at the left from the max value
win_idx = (max_idx-120000):(max_idx+200000);
plot(time(win_idx), data(win_idx))
The attached file contains the .mat file of original data. Thank you in advance.

Antworten (1)

Star Strider
Star Strider am 22 Aug. 2015
Yes. See my Comment replying to your earlier Comment.

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