help-octave
[Top][All Lists]
Advanced

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

Error using fir1()


From: Matthew Tay Han Yang
Subject: Error using fir1()
Date: Thu, 6 Jun 2013 17:03:25 +0800

Hi,
I am trying to create a filter, N_order = 8000, and cutoff frequency 0.01.
Thus I type: b = fir1(8000, 0.01).

However, the error message is " error: fir2 : grid size must be greater than half the filter order".

In this case, I read from
http://octave-matcompat.sourcearchive.com/documentation/20010225-7/fir1_8m-source.html
that it uses fir2 instead of fir1 by default, since the window is not specified.

However, what does "grid size" mean, and how should I overcome this?

I am using octave UPM R8.1
Thanks,
matt

reply via email to

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