Path: news.mathworks.com!not-for-mail
From: "John " <johnps@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: ABS error
Date: Mon, 20 Jun 2011 20:43:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 16
Message-ID: <itobcm$p3g$1@newscl01ah.mathworks.com>
References: <itoa5c$lj5$1@newscl01ah.mathworks.com> <itoaih$mmp$1@newscl01ah.mathworks.com>
Reply-To: "John " <johnps@gmail.com>
NNTP-Posting-Host: www-06-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1308602582 25712 172.30.248.38 (20 Jun 2011 20:43:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 20 Jun 2011 20:43:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2765603
Xref: news.mathworks.com comp.soft-sys.matlab:732868

"Roger Stafford" wrote in message <itoaih$mmp$1@newscl01ah.mathworks.com>...
> "John " <johnps@gmail.com> wrote in message <itoa5c$lj5$1@newscl01ah.mathworks.com>...
> > What's wrong with how I've used ABS?
> > 
> > ??? Undefined function or method 'ABS' for input arguments of type 'double'.
> > 
> > Error in ==> DPAnalysis2 at 113
> >                     if ABS(thrustx) <= 5 && ABS(thrusty) <=5 && ABS(moment) <=5 
> > 
> > thrustx, thrusty, and moment are all values that have just been calculated. Thanks!
> - - - - - - - -
>   Matlab is case-sensitive.  Use lowercase for 'abs'.
> 
> Roger Stafford

Ahh, ok thanks. Too bad the "help" shows it in all caps!