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: Solving complex number
Replies: 1   Last Post: Jan 14, 2013 10:13 AM

Advanced Search

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

Posts: 1,983
Registered: 12/6/04
Re: Solving complex number
Posted: Jan 14, 2013 10:13 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Salvinder " <salvinder@gmail.com> wrote in message <kd10gk$dcr$1@newscl01ah.mathworks.com>...
> Hie,
>
> I've got a matrix of 2X2 as shown below:
>
> [ 0.6 0.4; 0.7 0.3]^n
>
> when I change the value of n based on integer's I have no problem because I'll get the desired answer, but when n becomes decimal numbers such as 1.2 or 1.25, the solution will have a complex number as a solution. For example the solution would look as shown below:
>
> [ 0.2 + 0.034i 0.6 - 0.2i ; 0.4 - 0.03i 0.7+0.4i]
>
> Is there any possible way of removing the complex numbers?
>
> Thanks,


doc real



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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.