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

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

[Octave-bug-tracker] [bug #55420] Wront polar plot with complex numbers


From: anonymous
Subject: [Octave-bug-tracker] [bug #55420] Wront polar plot with complex numbers
Date: Tue, 8 Jan 2019 07:51:05 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0

URL:
  <https://savannah.gnu.org/bugs/?55420>

                 Summary: Wront polar plot with complex numbers
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Tue 08 Jan 2019 12:51:03 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: dan
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.1
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Hey! If I plot complex numbers in polar plot, the rho and theta values seems
to be flipped, so that the result plotted is wrong.

So insted the first value is the abs, and the complex number the argument
(arg), it is completeley the way round.
If I plot it via value (abs) and argument (rad) instead the complex numbers,
the result is correct.

For example:
polar(1+i,"+") should give me an abs of sqrt(2) and an angle of 45 degree.
Instead it is somewhere else, short before 60° at a value of 1. If i type
in:
polar(pi/4+sqrt(2)*i,"+")

the result is plotted correct. So for me a clear simple flip, that the complex
number isn't correctly interpreted.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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