octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #43586] control package: tf function accepts a


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #43586] control package: tf function accepts any string as the variable name
Date: Fri, 19 Jun 2015 13:57:15 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.0.1

Update of bug #43586 (project octave):

                Severity:              3 - Normal => 2 - Minor              
                Priority:              5 - Normal => 3 - Low                
              Item Group:        Incorrect Result => Incorrect Documentation
                 Release:                   3.8.0 => other                  
                 Summary: control package: tf function outputs wrong results
=> control package: tf function accepts any string as the variable name

    _______________________________________________________

Follow-up Comment #5:

So it looks like Matlab strictly validates the string given to the tf function
and it probably has to exactly match one of the allowed "variable" strings
's', 'z', 'p', 'q', 'z^-1', or 'q^-1'.

Since any other string is disallowed by Matlab, there's no harm in accepting
other strings in the control package for compatibility.

It's up the control package maintainer whether more strict checks should be
added for the variable name string, or whether it's documented clearly enough
as is.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43586>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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