I want to code a for loop in matlab that partitions a time series and takes the fft of that partitioned parts. Let's say
Posted: Wed May 11, 2022 8:31 pm
I want to code a for loop in matlab that partitions a time
series and takes the fft of that partitioned parts.
Let's say we have a random set of number that is a 16384 by 1.
My segment length changes depending on averages and overlap,
SL=N/(averages*(1-overlap/100)+overlap/100). So lets' say that my
average is 19 and my overlap is 50 percent which makes my SL=100. I
want to partition the 16,384 into 100's and use the fft on each
partition so that I can then solve the cross PSD with an optional
use of hanning window.Then after I calculate the psd I should be
able to plot.
series and takes the fft of that partitioned parts.
Let's say we have a random set of number that is a 16384 by 1.
My segment length changes depending on averages and overlap,
SL=N/(averages*(1-overlap/100)+overlap/100). So lets' say that my
average is 19 and my overlap is 50 percent which makes my SL=100. I
want to partition the 16,384 into 100's and use the fft on each
partition so that I can then solve the cross PSD with an optional
use of hanning window.Then after I calculate the psd I should be
able to plot.