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

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

[Octave-bug-tracker] [bug #57800] view command produces different result


From: Rik
Subject: [Octave-bug-tracker] [bug #57800] view command produces different results in MATLAB and Octave
Date: Wed, 12 Feb 2020 20:54:20 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Update of bug #57800 (project octave):

                  Status:                    None => Confirmed              
                 Release:                   5.2.0 => dev                    

    _______________________________________________________

Follow-up Comment #2:

The issue is how to handle the conversion from a point (X,Y,Z) to an azimuth,
elevation pair.  Matlab converts


view (0, 0, 1) -> az = 0, el = 90


while Octave converts this to


view (0, 0, 1) -> az = 90, el = 90


A point on the Z-axis (x = 0, y = 0) does not specify any particular azimuth
when converted to spherical coordinates.  The software just needs to pick a
value and it appears Matlab is using one convention and Octave another.

Working out the rules for Matlab would be useful.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57800>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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