The Octave wiki CPP quick reference
(http://wiki.octave.org/wiki.pl?CPPQuickReference) shows how to stack matrices.
How can I insert a row vector into an existing matrix of zeros, to avoid
constantly re-sizing? Or is re-sizing a low cost operation?
I'm trying this:
W.insert(zzz, i, 0);
where W is a matrix and zzz is a row vector. This compiles, but is not correct.
Thanks, M.
_______________________________________________
Help-octave mailing list
address@hidden
https://www.cae.wisc.edu/mailman/listinfo/help-octave