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개)

Honglei Chen
Honglei Chen 2015년 2월 23일

0 개 추천

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

댓글을 달려면 로그인하십시오.

카테고리

제품

질문:

2015년 2월 21일

댓글:

2015년 2월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by