Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Issue with horzcat
Date: Tue, 14 Apr 2009 18:03:40 +0000 (UTC)
Organization: Battelle Energy Alliance (INL)
Lines: 26
Message-ID: <gs2j5s$75n$1@fred.mathworks.com>
References: <gs10ep$1vr$1@fred.mathworks.com> <gs1191$q0a$1@fred.mathworks.com> <gs2ah1$ff4$1@fred.mathworks.com> <gs2g1c$k4g$1@fred.mathworks.com> <gs2icq$b0m$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1239732220 7351 172.30.248.35 (14 Apr 2009 18:03:40 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 14 Apr 2009 18:03:40 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 688530
Xref: news.mathworks.com comp.soft-sys.matlab:532710


"Jeff Hajewski" <jhajewsk@indiana.edu> wrote in message 
> I did just as you said and it still says the dimensions are what I thought. Here is what Matlab said
> 
> ??? Error using ==> horzcat
> All matrices on a row in the bracketed expression must have the 
>  same number of rows.
> 
> Error in ==> buildCurve at 45
>     ortPmat = horzcat(ortPmat', newPoint);
> 
> 45      ortPmat = horzcat(ortPmat', newPoint);
> K>> whos ortPmat newPoint
>   Name           Size                    Bytes  Class
> 
>   newPoint       2x1                        16  double array
>   ortPmat        2x51                      816  double array
> 
> Grand total is 104 elements using 832 bytes
> 
> This error doesn't make sense to me because they have the same number of rows.
> 
> Jeff



Looks like we are back to post number 3.