Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: strange error message
Date: Sun, 20 Sep 2009 22:04:01 +0000 (UTC)
Organization: Battelle Energy Alliance (INL)
Lines: 9
Message-ID: <h968sh$evd$1@fred.mathworks.com>
References: <ec15a73f-76ad-4291-a568-b615d121e464@v36g2000yqv.googlegroups.com> <02e88d83-1feb-4bd9-a9b5-97577c94c04d@o13g2000vbl.googlegroups.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1253484241 15341 172.30.248.37 (20 Sep 2009 22:04:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 20 Sep 2009 22:04:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 688530
Xref: news.mathworks.com comp.soft-sys.matlab:571669


stpatryck <stpatryck@gmail.com> wrote in message <02e88d83-1feb-
> Nevertheless, all of the variables have the same dimensions, so why
> the error message?



You are not listening either to us or MATLAB.  The criteria is NOT that the variables have the same dimensions!  Is THAT what the error message says?  No.  Read it again, and read the doc for surf, there is an example in the documentation.  Copy and paste the example, then look at the output from whos.

doc surf   % READ IT.