Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: apply non-integer power on column vector
Date: Sat, 19 Jul 2008 19:54:02 +0000 (UTC)
Organization: Monash University
Lines: 10
Message-ID: <g5tgoq$3ti$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1216497242 4018 172.30.248.37 (19 Jul 2008 19:54:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 19 Jul 2008 19:54:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1444970
Xref: news.mathworks.com comp.soft-sys.matlab:480476



Hi,
I am having a problem on how to solve the equation out.
Suppose i am having a column vector:-
s=[3;-5] 
when i attempt to apply non-integer power of 3/5 on the
column vector, it is not able to obtain my desired result.
the desired answer suppose to be s=[1.933 ; -2.627] however
when i apply the following command s.^(3/5), it yields
s=[1.9332 ;-0.8116 + 2.4980i]. May i know what is the exact
command to be used to solve the problem.