help-octave
[Top][All Lists]
Advanced

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

Re: Does "remez" work for anyone?


From: Mike Miller
Subject: Re: Does "remez" work for anyone?
Date: Wed, 18 Dec 2013 16:26:09 -0500

On Wed, Dec 18, 2013 at 12:58:00 -0800, briankaz wrote:
> Thanks, I can get it to work now too!  This is fascinating.  You'd think if
> a much shorter FIR filter can be implemented than the one the user is
> requesting, remez would at least return SOMETHING!

Well you did ask it for a filter with 1025 coefficients, if it cannot
converge on such a filter then it should throw an error rather than
arbitrarily reducing the filter length, that's not how the algorithm
works.

FWIW, I get a "failure to converge" error from scipy's remez function
with your filter specs, and someone tells me Matlab's firpm also
prints a "failure to converge" error. So I do not think there is a
demonstrable problem with Octave's implementation with this filter
spec. Are you sure you are providing the right values to the function?
Perhaps your filter requirements are simply not suited to the
Parks-McClellan algorithm.

> But now I can at least get back to work...

That is the important part of course :)

-- 
mike


reply via email to

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