Path: news.mathworks.com!newsfeed-00.mathworks.com!nntp.TheWorld.com!news.mathforum.org!not-for-mail
From: Ryan <Galaxian8@aol.com>
Newsgroups: comp.soft-sys.matlab
Subject: Weird imaginary number
Date: Thu, 20 Nov 2008 21:46:07 EST
Organization: The Math Forum
Lines: 1
Message-ID: <31509243.1227235597914.JavaMail.jakarta@nitrogen.mathforum.org>
NNTP-Posting-Host: nitrogen.mathforum.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: support1.mathforum.org 1227235597 23173 144.118.30.135 (21 Nov 2008 02:46:37 GMT)
X-Complaints-To: news@news.mathforum.org
NNTP-Posting-Date: Fri, 21 Nov 2008 02:46:37 +0000 (UTC)
Xref: news.mathworks.com comp.soft-sys.matlab:502223


I'm writing a code where a variable RH=-2.3927e+004 and y4=0.3500.  In my code RH^y4 spits out a complex number.  When I was debugging the code I tried just running the numbers w/o the variables I got the correct answer.  Is there something syntax rule I'm missing or how should I code this?