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

1 view (last 30 days)
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!

Answers (1)

Honglei Chen
Honglei Chen on 23 Feb 2015
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 Comment
Avinash Nargund
Avinash Nargund on 26 Feb 2015
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'.

Sign in to comment.

Products

Community Treasure Hunt

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

Start Hunting!