How to change window type in Fsst function
Ältere Kommentare anzeigen
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 Kommentare
Walter Roberson
am 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.
Wendy Fernandez
am 9 Jul. 2017
Bearbeitet: Walter Roberson
am 9 Jul. 2017
Antworten (1)
Walter Roberson
am 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)
Kategorien
Mehr zu Transforms finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!