Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! 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