Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Solving complex number
Date: Tue, 15 Jan 2013 08:02:08 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 21
Message-ID: <kd32dv$fct$1@newscl01ah.mathworks.com>
References: <kd10cs$cv6$1@newscl01ah.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-00-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1358236928 15773 172.30.248.45 (15 Jan 2013 08:02:08 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 15 Jan 2013 08:02:08 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 3799640
Xref: news.mathworks.com comp.soft-sys.matlab:786562

"Salvinder " <salvinder@gmail.com> wrote in message <kd10cs$cv6$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, 

No.
Your matrix is diagonizable, but has one negative eigenvalue (-0.1).
Thus complex entries are to be expected when taking a non-integer power of it.

Best wishes
Torsten.