Skip to main content
1-Visitor
September 30, 2016
Solved

HEPL!! How to join many matrices in only One?

  • September 30, 2016
  • 8 replies
  • 4134 views

I wanna join or pass many matrices in only one....

Please look the attached image

its posible?

Best answer by Werner_E

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

8 replies

1-Visitor
September 30, 2016

Use the "stack" function.

1-Visitor
September 30, 2016

it's not possible because the number of matrices to join is variable or dynamic......

1-Visitor
September 30, 2016

Can you explain a little more?  I'm not sure what you mean.

12-Amethyst
September 30, 2016

Hi.

You can pack matrices into a vector generating a MDA. Further you can acces each one with vector subscript.

Best regards.

Alvaro.

FIG.gif

21-Topaz II
September 30, 2016

matrices.jpg

Werner_E25-Diamond IAnswer
25-Diamond I
September 30, 2016

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

1-Visitor
October 1, 2016

i have modified little bit the code but thank you so much.

Its solved