Path: news.mathworks.com!not-for-mail
From: "us " <us@neurol.unizh.ch>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Subscript indices are real integers but getting error saying they are not?
Date: Tue, 31 Jul 2007 15:28:20 +0000 (UTC)
Organization: Universit&#228;tsSpital Z&#252;rich
Lines: 10
Message-ID: <f8nkek$ghn$1@fred.mathworks.com>
References: <f8nk04$7u9$1@fred.mathworks.com>
Reply-To: "us " <us@neurol.unizh.ch>
NNTP-Posting-Host: webapp-01-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1185895700 16951 172.30.248.36 (31 Jul 2007 15:28:20 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 31 Jul 2007 15:28:20 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 11
Xref: news.mathworks.com comp.soft-sys.matlab:421867


Colm
<SNIP function-is-var evergreen...

one of the (likely) solutions

     x=1:5;
     clear mean;
     mean(x)

us