How to change window type in Fsst function
3 views (last 30 days)
Show older comments
I would like to know how I can change the default window type in the fsst function to a Hamming window with window size 200.
Thank you
2 Comments
Walter Roberson
on 8 Jul 2017
Please post a link to the fsst routine you are using. There does not appear to be a MATLAB routine by that name, and I do not see anything in the File Exchange by that name either.
Answers (1)
Walter Roberson
on 9 Jul 2017
In order to change the default, use
edit(which('fsst'))
and search down to the routine parseInputs, and on approximately line 210 change the call to kaiser to whatever you want the default window to be.
I do not recommend this.
I would recommend that you instead compute the window you want and pass it in at the window slot in the parameters. If you look at https://www.mathworks.com/help/signal/ref/fsst.html#inputarg_window you can see that you can pass in a vector, such as the result of calling hamming(200)
0 Comments
See Also
Categories
Find more on Time-Frequency Analysis 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!