|
From: | James Sherman Jr. |
Subject: | Re: create a vector and vector of matrix |
Date: | Wed, 13 May 2009 11:32:28 -0400 |
Hello,
I need to create a vector; this work but is there something more compact?
repmat(0, length(A), 1)
eg:
0
0
0
0
furthermore as I have to repeat the operation for 5 times, there is the way to do it in a loop as well:
repmat(0, length(A0), 1)
repmat(1, length(A1), 1)
repmat(2, length(A2), 1)
repmat(3, length(A3), 1)
I mean: is it possible to create a vector of matrix indexes a vecot like this
V = [A0 A1 A2 A3] and use V[i] to access to a matrix?
thanks
_______________________________________________
Help-octave mailing list
address@hidden
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
[Prev in Thread] | Current Thread | [Next in Thread] |