plot([complex(0) complex(2)]) not the same plot as MATLAB
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
octave (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
It looks like complex(0) simplifies to 0 real in octave, but not MATLAB. MATLAB plots this in the complex plane, but octave does not. Furthermore, when plotting with other complex numbers that force the complex plane, it looks like octave defaults complex(0) to 1 or something.
ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: octave 6.2.0-1
ProcVersionSign
Uname: Linux 5.13.0-28-generic x86_64
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Mon Feb 14 07:29:02 2022
InstallationDate: Installed on 2021-05-25 (265 days ago)
InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: octave
UpgradeStatus: Upgraded to impish on 2021-09-29 (138 days ago)