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!

Respuestas (1)

Honglei Chen
Honglei Chen el 23 de Feb. de 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 comentario

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'.

Iniciar sesión para comentar.

Productos

Preguntada:

el 21 de Feb. de 2015

Comentada:

el 26 de Feb. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by