Howto evaluate this sum function to define a matrix?

Howto evaluate this sum function to define a matrix? - Сообщения

#1 Опубликовано: 16.11.2015 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 Опубликовано: 17.11.2015 20:50:10
Davide Carpi

Davide Carpi

1416 сообщений из 2873 понравились пользователям.

Группа: 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 Опубликовано: 18.11.2015 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
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений