help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

matrix append


From: Matthew Wollenweber
Subject: matrix append
Date: Fri, 13 Jun 2003 15:03:13 -0400 (EDT)

 here is a snippit of C code, but i get the following error when running
fatal: row dimension mismatch for append

i don't understand what's wrong... any ideas?

---code---

 RowVector A = RowVector(8,8);
 ColumnVector B = ColumnVector(8,8);

 int r =  A.length();
 int c =  B.length();

 Matrix X = Matrix(r,c);
 Matrix Y = Matrix(r,c);

 X.append(A);



---------------------------
Matthew Wollenweber       
address@hidden



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]