Quantcast

Suspected bug in remez command?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Suspected bug in remez command?

Anders
I am experiencing problems with the remez command in Octave 3.2.4 on Windows. I have tried a number of different orders and griddensities, but all seem to give error. I am trying to define a differentiator.

Example:  B=remez(4,[0 0.8],[0 0.8]*pi,'differentiator',4*1024) gives me coefficients
  -0.02488   0.35098  -1.00103   0.00000 ... (neg. symmetry)

MATLAB's firpm, which I understand should give the same (similar) output, gives
B=  0.1519   -0.4161    0.9424         0

The MATLAB result is a really decent differentiator, which cannot be said about the remez output.

Could anyone hint me at a solution? Have I misunderstood anything about the remez function?

Anders

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Octave-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/octave-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Suspected bug in remez command?

Robert T. Short
On 01/15/2012 04:41 AM, Anders wrote:
I am experiencing problems with the remez command in Octave 3.2.4 on Windows. I have tried a number of different orders and griddensities, but all seem to give error. I am trying to define a differentiator.

Example:  B=remez(4,[0 0.8],[0 0.8]*pi,'differentiator',4*1024) gives me coefficients
  -0.02488   0.35098  -1.00103   0.00000 ... (neg. symmetry)

MATLAB's firpm, which I understand should give the same (similar) output, gives
B=  0.1519   -0.4161    0.9424         0

The MATLAB result is a really decent differentiator, which cannot be said about the remez output.

Could anyone hint me at a solution? Have I misunderstood anything about the remez function?

Anders


------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2


_______________________________________________
Octave-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/octave-dev
I don't think this function works.  I have not tried it in a long time, but I never got any useful results. I played around with it enough to believe it would not be hard to fix, but it has never bubbled up the priority stack enough to actually do it.

Bob

Bob

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Octave-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/octave-dev
Loading...