explode matrix

explode matrix - 消息

#1 已发布: 2014/1/8 12:40:09
kaaden

kaaden

0个赞,共13个帖子。

组: User

Hello

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








#2 已发布: 2014/1/8 19:59:12
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: 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 已发布: 2014/1/9 04:04:27
kaaden

kaaden

0个赞,共13个帖子。

组: User


Hello

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

thanks
#4 已发布: 2014/1/9 05:09:01
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: 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)已下载 1314 次。
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#5 已发布: 2014/1/10 12:55:58
kaaden

kaaden

0个赞,共13个帖子。

组: User

thanks


#6 已发布: 2021/12/24 12:52:59
susilo widyatmoko

susilo widyatmoko

5个赞,共9个帖子。

组: User

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

Example Matrix joinblocks rev.sm (19.08 KiB)已下载 1842 次。
  • 有新帖
  • 无新帖