Howto evaluate this sum function to define a matrix?

Howto evaluate this sum function to define a matrix? - 消息

#1 已发布: 2015/11/16 13:34:03
archbuilder

archbuilder

0个赞,共4个帖子。

组: User

Hello smath-forum,

I am trying to use the equations below to define a matrix.
The result should be a 3x3 matrix per equation. Which later is composed to a 6x6 matrix:
AB
BD

Is that possible in smath? If yes - how could it be done?

equations

Q is 3x3 matrix
Q* is 2x2 matrix

Is something like this allready documented or should i do it?

in hope for your support

redet
#2 已发布: 2015/11/17 20:50:10
Davide Carpi

Davide Carpi

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

组: Moderator

You have to define A,B,D in a loop, then you can merge the matrices using augment(...) and stack(...)

2015-11-18 00_55_08-SMath Studio Desktop - [Pie Chart Test.sm_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 已发布: 2015/11/18 05:25:23
archbuilder

archbuilder

0个赞,共4个帖子。

组: User

Thank you this works very good.

An alternative is to write the equations into a Matrix and that loop over it:

alternative path
  • 有新帖
  • 无新帖