I would like know the code for FIR filter respose

4 views (last 30 days)
[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

Star Strider
Star Strider on 22 Jun 2023
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
alfunsa Prathia
alfunsa Prathia on 27 Jun 2023
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
Star Strider
Star Strider on 27 Jun 2023
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)

alfunsa Prathia
alfunsa Prathia on 27 Jun 2023
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!