How to a use a User-Defined window function in the fdatool?

I've created a window function and analysed it using the window visualization tool. Now I need to create a filter using that window function. Can any of you help me to do the same? Thanks!

回答(1 个)

You just need to write a function to output that window.
Then in fdatool, you can choose FIR, then set it to Window, and in the Options frame, you'll see an option as Window. You can the select User Defined from the drop down and the dialog will update to allow you to enter the function name.
HTH

1 个评论

I tried it but I'm getting a few errors. My function takes a single argument.When I try passing that argument I get the error 'Too Many Input Arguments'.

请先登录,再进行评论。

类别

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by