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

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

[Octave-bug-tracker] [bug #37535] "cos 1" vs "cos (1)"


From: Michael Godfrey
Subject: [Octave-bug-tracker] [bug #37535] "cos 1" vs "cos (1)"
Date: Wed, 10 Oct 2012 16:09:32 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0.1

Follow-up Comment #3, bug #37535 (project octave):

Not true.  Matlab says:

>> cos 1
??? Undefined function or method 'cos' for input arguments of type 'char'.
 
>> cos(1)

ans =

    0.5403
>> cos('Hello')
??? Undefined function or method 'cos' for input arguments of type 'char'.
 
 
>> version

ans =

7.9.0.529 (R2009b)

>>

=============================
Regardless of Matlab, I think that it would be
more "user friendly" to do an argument check.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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