Parameterize overlapping - cpsd()
Show older comments
Hello, everyone.
I need to create a script where overlapping is parameterized. I did it this way:
N = length(u); % = length(y)
percentage = 0.5; %range = [0.01 - 0.99]
window = hanning(round(N/4.5));
overlap = round(length(window)*percentage);
[SuyW,fw] = cpsd(u,y,window,overlap,[],fs);
Can anyone tell me if this is correct?
Accepted Answer
More Answers (0)
Categories
Find more on Spectral Estimation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!