SMath Studio Forum
»
SMath Studio
»
Questions
»
Howto evaluate this sum function to define a matrix?
Rank: Newbie
Groups: Registered
Joined: 16/11/2015(UTC) Posts: 3
|
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? 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 Edited by user 16 November 2015 21:30:00(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,654 Location: Italy Was thanked: 1340 time(s) in 879 post(s)
|
You have to define A,B,D in a loop, then you can merge the matrices using augment(...) and stack(...) Edited by user 18 November 2015 02:55:52(UTC)
| Reason: Not specified |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Newbie
Groups: Registered
Joined: 16/11/2015(UTC) Posts: 3
|
Thank you this works very good. An alternative is to write the equations into a Matrix and that loop over it: Edited by user 15 December 2015 22:04:46(UTC)
| Reason: Not specified
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
Howto evaluate this sum function to define a matrix?
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.