Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Complex-valued vector strange behavior
Replies: 3   Last Post: Apr 30, 2013 10:57 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 24
Registered: 10/18/12
Complex-valued vector strange behavior
Posted: Apr 30, 2013 9:41 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

When I enter:
vec1=[2 -1-3*i]'

It returns:
-1.0000 + 3.0000i

-1-3*i is not equivalent to -1+3i

Strangely, when I simply enter:
it returns:
-1.0000 - 3.0000i

Am I doing something stupid?

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.