Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
I wanna join or pass many matrices in only one....
Please look the attached image
its posible?
Solved! Go to Solution.
Your matrices should not be all named the same (k.1)
As you have a variable number of matrices (all with the same number of columns) you could store them in k[1, k[2, etc. and I mean vector/matrix indices here, not literal ones.
Now you could do it that way
Use the "stack" function.
it's not possible because the number of matrices to join is variable or dynamic......
Can you explain a little more? I'm not sure what you mean.
yes the stack function join many matrix, it is very useful to drive huge matrix
Hi.
You can pack matrices into a vector generating a MDA. Further you can acces each one with vector subscript.
Best regards.
Alvaro.
Your matrices should not be all named the same (k.1)
As you have a variable number of matrices (all with the same number of columns) you could store them in k[1, k[2, etc. and I mean vector/matrix indices here, not literal ones.
Now you could do it that way
i have modified little bit the code but thank you so much.
Its solved