Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


sherzod
Posts:
2
Registered:
10/17/12


vector declaration
Posted:
May 2, 2013 2:06 PM


Hi everyone, I have the following question: Suppose I have a for loop similar to : for m = 1:3 %and than many other staff. What I want is to declare a vector such that when m = 1, my vector (say x) is x1, and when for loop makes m = 2 , another vector x2 is created and so on. In VBA Excel it looks like: for m = 1 To 3 x&m='some value' .....
How to do this in Matlab? thanks in advance



