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

1415 likes in 2872 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

1222 likes in 2150 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 KiB) downloaded 49 time(s).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#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

3 likes in 8 posts.

Group: User

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

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