I would like know the code for FIR filter respose

[b,a] = ellip(3,1,60,[0.4 0.7],'stop'); % Bandstop elliptic
I would like know how to write a code for an asteriod instead of an ellipse to find FIR RESPONSE

 Accepted Answer

I have no idea what an ‘asteroid’ filter is, at least iin the context of signal processing.
There are several ways to design filters in MATLAB. For FIR filters, see the documentation on fir1 aand firls for two approaches. (The elliptical filter is an IIR filter.) To plot the responses of discrete filters in the frequency domain, use the freqz function.

2 Comments

I what to check the response of the fir filter on an asteroid instead of a circle or ellipse.
I am from a non Electronics background but from mathematics so can you please help
Discrete (digital) filters filter signals that (in most instances) are digitised from existing analog signals.
I do not understand about using a digital filter on an asteroid. An explanation of what you want to do would be helpful.

Sign in to comment.

More Answers (1)

I what to check the response of the fir filter on an asteroid instead of a circle or ellipse.
I am from a non Electronics background but from mathematics so can you please hel

Community Treasure Hunt

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

Start Hunting!