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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

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

Post by answerhappygod »

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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply