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

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

[Octave-bug-tracker] [bug #42071] complex trig functions differ from Mat


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #42071] complex trig functions differ from Matlab
Date: Thu, 10 Apr 2014 01:19:57 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36

Update of bug #42071 (project octave):

                  Status:               Need Info => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #11:

Ok, so we are talking about Matlab's default output formatting being
misleading here. Gladly closing as invalid.

For completeness, I had someone send me the following from Matlab (gratuitous
blank lines removed):


>> format long e
>> exp(i*pi)
ans =
    -1.000000000000000e+000 +1.224646799147353e-016i
>> exp(i*20*pi)
ans =
     1.000000000000000e+000 -2.449293598294707e-015i
>> exp(i*200*pi)
ans =
     1.000000000000000e+000 +3.928773447456944e-015i


These look identical to what I've seen in Octave.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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