|
From: | Mike Miller |
Subject: | [Octave-bug-tracker] [bug #45810] zp2sos error when calling cplxpair |
Date: | Sun, 23 Aug 2015 19:19:43 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.2.0 |
Follow-up Comment #3, bug #45810 (project octave): I think there is a compatibility bug with cplxpair here, but maybe also with zp2sos once that is fixed. Example: >>> z1 = [2000 + 4j; 2000 - 4j]; >>> cplxpair (z1) ans = 2000 - 4i 2000 + 4i >>> z2 = [2000 * (1+eps) + 4j; 2000 * (1-eps) - 4j]; >>> cplxpair (z2) error: cplxpair: could not pair all complex numbers error: called from cplxpair at line 128 column 9 Can OP or someone try this in Matlab to verify that it should work? My reading of Matlab's help on cplxpair says that this should work because the tolerance is taken relative to the magnitude of each value. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?45810> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |