Column sumation of a complex matrix

Column sumation of a complex matrix - I want to sum all numbers on a specific column - Mensajes

#1 Publicado: 15/10/2023 15:25:52
Tere Sergiu-Gheorghe

Tere Sergiu-Gheorghe

1 me gusta en 2 mensajes.

Grupo: User

Hello guys,

I have a matrix with system of values in it. I want to sum up all the column.
Could you help me with this?
sumcomplexcolumn.sm (9,96 KiB) descargado 1379 vez(es).
#2 Publicado: 15/10/2023 17:33:50
Oscar Campo

Oscar Campo

135 me gusta en 309 mensajes.

Grupo: Moderator

Hi,
It's necessary convert each system of your 5th column to a matrix by sys2mat() function, then you can stack each matrix from 5th column and do the summation:

complexSUM.png

sumcomplexcolumn SOLVED.sm (12,77 KiB) descargado 1369 vez(es).

Regards,
Oscar
#3 Publicado: 15/10/2023 18:01:59
ioan92

ioan92

181 me gusta en 125 mensajes.

Grupo: User

Hi Sergio,

Of course, Oscar’s proposal is a very interesting one
May I make a simple suggestion: avoid the use of “sys” data and replace it with a simple sum, as in my appended file.

Best Regards,
Ioan
If the column's sums are aasked, here is a solution for keeping the answer inside the box...:d
2023-10-15 13_17_06-SMath Solver - [sumcomplexcolumn (1).sm_].png


sumcomplexcolumn (1).sm (11,7 KiB) descargado 1382 vez(es).
Do to others as you would like them to do to you! Knowledge is of no value unless you put it into practice - Chekhov
#4 Publicado: 15/10/2023 18:09:35
Oscar Campo

Oscar Campo

135 me gusta en 309 mensajes.

Grupo: Moderator

Wrote

Hi Sergio,

Of course, Oscar’s proposal is a very interesting one
May I make a simple suggestion: avoid the use of “sys” data and replace it with a simple sum, as in my appended file.

Best Regards,
Ioan


sumcomplexcolumn (1).sm (11,7 KiB) descargado 1382 vez(es).



Nice!, you think out of the box :d
#5 Publicado: 15/10/2023 20:32:04
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Doctored version from construction.

sumcomplexcolumn.sm (9,96 KiB) descargado 1406 vez(es).
#6 Publicado: 15/10/2023 20:41:06
Tere Sergiu-Gheorghe

Tere Sergiu-Gheorghe

1 me gusta en 2 mensajes.

Grupo: User

Thank you very much guys for your answers!
I bought the paid version of smath also because this forum has such great users.
A 1 usuarios les gustó este mensaje
Oscar Campo 16/10/2023 22:26:00
  • Nuevos mensajes
  • Sin mensajes nuevos