explode matrix

explode matrix - Messaggi

#1 Pubblicato: 08/01/2014 12:40:09
kaaden

kaaden

0 apprezzamenti in 13 post.

Gruppo: User

Hello

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








#2 Pubblicato: 08/01/2014 19:59:12
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: 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 Pubblicato: 09/01/2014 04:04:27
kaaden

kaaden

0 apprezzamenti in 13 post.

Gruppo: User


Hello

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

thanks
#4 Pubblicato: 09/01/2014 05:09:01
Martin Kraska

Martin Kraska

1.361 apprezzamenti in 2.275 post.

Gruppo: 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) scaricato 1304 volta(e).
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#5 Pubblicato: 10/01/2014 12:55:58
kaaden

kaaden

0 apprezzamenti in 13 post.

Gruppo: User

thanks


#6 Pubblicato: 24/12/2021 12:52:59
susilo widyatmoko

susilo widyatmoko

5 apprezzamenti in 9 post.

Gruppo: User

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

Example Matrix joinblocks rev.sm (19,08 KiB) scaricato 1831 volta(e).
  • Nuovi post
  • Nessun nuovo post