explode matrix

explode matrix - Messages

#1 Posted: 1/8/2014 12:40:09 PM
kaaden

kaaden

0 likes in 13 posts.

Group: User

Hello

How can I explode a matrix 3x3 submatrix in a 9x9?








#2 Posted: 1/8/2014 7:59:12 PM
Davide Carpi

Davide Carpi

1,436 likes in 2,915 posts.

Group: Moderator

Wrote

How can I explode a matrix 3x3 submatrix in a 9x9?



Do you want explode (in: 9 nested matrices -> out: 9 indipendent matrices) or implode the matrix (in: 9 nested matrices -> out: 1 big matrix)?

In the 2nd case you can use for loops and stack() or augment() functions.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Posted: 1/9/2014 4:04:27 AM
kaaden

kaaden

0 likes in 13 posts.

Group: User


Hello

I want the second case, 9 matrix 3x3 ->1 matrix 9x9

thanks
#4 Posted: 1/9/2014 5:09:01 AM
Martin Kraska

Martin Kraska

1,332 likes in 2,240 posts.

Group: Moderator

I tried to be a bit general, the procedure works for arbitrary block structures as long as the dimensions of the submatrices fit.
Example Matrix joinblocks.sm (19.37 KiB) downloaded 817 time(s).
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#5 Posted: 1/10/2014 12:55:58 PM
kaaden

kaaden

0 likes in 13 posts.

Group: User

thanks


#6 Posted: 12/24/2021 12:52:59 PM
susilo widyatmoko

susilo widyatmoko

5 likes in 9 posts.

Group: User

its not working, so I modified this file
Screenshot 2021-12-24 225450.png

Example Matrix joinblocks rev.sm (19.08 KiB) downloaded 1177 time(s).
  • New Posts
  • No New Posts