Path: news.mathworks.com!not-for-mail
From: "Yuriy " <aaa@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: problem with complex numbers
Date: Tue, 8 Jan 2008 23:30:10 +0000 (UTC)
Organization: University of Nevada
Lines: 10
Message-ID: <fm1121$9dg$1@fred.mathworks.com>
Reply-To: "Yuriy " <aaa@yahoo.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1199835010 9648 172.30.248.35 (8 Jan 2008 23:30:10 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 8 Jan 2008 23:30:10 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 995088
Xref: news.mathworks.com comp.soft-sys.matlab:444968


can anybody explain me why this code gives different results
for F1 and F2

clear all
A=5*rand(5,5);

z=2.5;

F1=exp(-j*A).^z;
F2=exp(-j*A*z);