[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63052] [octave forge] (control) Inverse opera
From: |
Doug Stewart |
Subject: |
[Octave-bug-tracker] [bug #63052] [octave forge] (control) Inverse operation with transfer function variables resulting in wrong results |
Date: |
Tue, 13 Sep 2022 20:36:12 -0400 (EDT) |
Follow-up Comment #6, bug #63052 (project octave):
I found that ,in __zero__.m
this line:
[zer, rank, infz, kronr, kronl] = __sl_ag08bd__ (sys.a, sys.e, sys.b, sys.c,
sys.d, sys.scaled);
is returning zer close to eps, when it should return 0;
I added:
if(abs(zer)<2*eps)
zer=0;
endif
This definitely reduced (removed) the spurious wrong numbers, that I was
seeing.
So the FORTRAN function __sl_ag08bd__ seems to have some round off problems.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63052>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #63052] (Control) Inverse operation with transfer function variables resulting in wrong results, Luiz Antonio Maccari Junior, 2022/09/12
- [Octave-bug-tracker] [bug #63052] (Control) Inverse operation with transfer function variables resulting in wrong results, Doug Stewart, 2022/09/12
- [Octave-bug-tracker] [bug #63052] (Control) Inverse operation with transfer function variables resulting in wrong results, Luiz Antonio Maccari Junior, 2022/09/12
- [Octave-bug-tracker] [bug #63052] (Control) Inverse operation with transfer function variables resulting in wrong results, Doug Stewart, 2022/09/12
- [Octave-bug-tracker] [bug #63052] [octave forge] (control) Inverse operation with transfer function variables resulting in wrong results, Nicholas Jankowski, 2022/09/12
- [Octave-bug-tracker] [bug #63052] [octave forge] (control) Inverse operation with transfer function variables resulting in wrong results, Doug Stewart, 2022/09/12
- [Octave-bug-tracker] [bug #63052] [octave forge] (control) Inverse operation with transfer function variables resulting in wrong results,
Doug Stewart <=
- [Octave-bug-tracker] [bug #63052] [octave forge] (control) Inverse operation with transfer function variables resulting in wrong results, Luiz Antonio Maccari Junior, 2022/09/14
- [Octave-bug-tracker] [bug #63052] [octave forge] (control) Inverse operation with transfer function variables resulting in wrong results, Doug Stewart, 2022/09/14
- [Octave-bug-tracker] [bug #63052] [octave forge] (control) Inverse operation with transfer function variables resulting in wrong results, Luiz Antonio Maccari Junior, 2022/09/14
- [Octave-bug-tracker] [bug #63052] [octave forge] (control) Inverse operation with transfer function variables resulting in wrong results, Doug Stewart, 2022/09/14