help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: freqz question (clarified)


From: Julius Smith
Subject: Re: freqz question (clarified)
Date: Thu, 17 Sep 2009 15:47:03 -0600

I agree that freqz should simply plot the magnitude and phase response of the filter. Since the arguments to freqz are merely filter coefficients B and A, there is no guarantee that the concepts of "pass band" or "stop band" make any sense for the given filter. For example, what if B/A is an allpass filter?

We ARE guaranteed, on the other hand, that every filter B/A (with A(1)==1) has a frequency response, and the most commonly desired frequency-response display, in my experience, is magnitude and phase versus frequency.

I would be happy implement this change (magnitude in dB, phase in degrees), but freqz appears to be in the base Octave distribution, while I can only change things in octave-forge, as far as I know.

- jos

At 02:03 PM 9/12/2009, Scott.Raevsky wrote:
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
        boundary="----_=_NextPart_001_01CA33E4.15CEB18C"

Hello,

Just to clarify my previous question, Matlab's output of freqz is as follows:

freqz(b,a,...) plots the magnitude and unwrapped phase of the frequency response of the filter. The plot is displayed in the current figure window.

Why does Octave's freqz not plot magnitude and phase? Instead it plots 1) pass band, 2) stop band, and 3) phase. Plotting a separate pass band and stop band doesn't make sense to me.

Thanks


MAIL.KMOB.COM made the following annotations---------------------------------------------------------------------PRIVILEGED AND CONFIDENTIAL COMMUNICATION

This electronic transmission, and any documents attached
hereto, may contain confidential and/or legally privileged
information. The information is intended only for use by
the recipient named above. If you have received this
electronic message in error, please notify the sender and
delete the electronic message. Any disclosure, copying,
distribution, or use of the contents of information
received in error is strictly prohibited.
---------------------------------------------------------------------
_______________________________________________
Help-octave mailing list
address@hidden
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave


Julius O. Smith III <address@hidden>
Prof. of Music and Assoc. Prof. (by courtesy) of Electrical Engineering
CCRMA, Stanford University
http://ccrma.stanford.edu/~jos/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]