Path: news.mathworks.com!not-for-mail
From: "Barry Williams" <barry.r.williamsnospam@saic.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: built-in, standard range function?
Date: Thu, 1 Aug 2013 11:53:10 +0000 (UTC)
Organization: SAIC
Lines: 6
Message-ID: <ktdi76$hur$1@newscl01ah.mathworks.com>
References: <ktbvqn$173$1@newscl01ah.mathworks.com>
Reply-To: "Barry Williams" <barry.r.williamsnospam@saic.com>
NNTP-Posting-Host: www-04-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1375357990 18395 172.30.248.35 (1 Aug 2013 11:53:10 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 1 Aug 2013 11:53:10 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 804417
Xref: news.mathworks.com comp.soft-sys.matlab:800232

"IceHaven" wrote in message <ktbvqn$173$1@newscl01ah.mathworks.com>...
> does the basic matlab program have a range function that computes max(array)-min(array) of an array? i found that there's a range function in the statistics toolbox, but i'd expect there to be one in the regular program as well, right?

rangex=max(max(x))-min(min(x));

Barry