Path: news.mathworks.com!not-for-mail
From: "Jason" <j_henderson44@REMOVEhotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: plotting complex numbers
Date: Fri, 5 Dec 2008 15:00:20 +0000 (UTC)
Organization: Fluid Gravity Engineeing Ltd
Lines: 14
Message-ID: <ghbfm4$bfh$1@fred.mathworks.com>
Reply-To: "Jason" <j_henderson44@REMOVEhotmail.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 1228489220 11761 172.30.248.35 (5 Dec 2008 15:00:20 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 5 Dec 2008 15:00:20 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 992326
Xref: news.mathworks.com comp.soft-sys.matlab:505190


Hello,

I have MATLAB which I have used very successfully for other stuff. I have never used it for complex numbers. A colleague wishes to plot a function - he is having problems with another program and asked me about Matlab ;-)

The funtion is

1 + 1/(x(iy-x)) 

for -2 < x < 2
    -2  < y < 2

I am guessing I need to plot an array of complex numbers or something

Can some kind soul please tell me how to do this? I would rather not have to do a refresher course on complex numbers ;-)