[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #35730] freqz returns incorrectly scaled magni
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #35730] freqz returns incorrectly scaled magnitude response |
Date: |
Tue, 06 Mar 2012 10:55:38 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2 |
Follow-up Comment #1, bug #35730 (project octave):
>From what I can see when I look at the function freqz this use
freqz(h, N);
is completely wrong for what you want.
The second argument is the denominator parameter and you get exactly
what the function is supposed to give in this case.
The third argument is is the number of frequencies.
So what you want is probably freqz(h, 1, N).
Also "help freqz" describes it exactly like that and nothing is broken.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35730>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/