How to change window type in Fsst function
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
Walter Roberson
2017-7-8
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.
回答(1 个)
Walter Roberson
2017-7-9
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Transforms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!