Column sumation of a complex matrix

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

#1 Posted: 10/15/2023 3:25:52 PM
Tere Sergiu-Gheorghe

Tere Sergiu-Gheorghe

1 likes in 2 posts.

Group: 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 KiB) downloaded 30 time(s).
#2 Posted: 10/15/2023 5:33:50 PM
Oscar Campo

Oscar Campo

124 likes in 298 posts.

Group: 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 KiB) downloaded 25 time(s).

Regards,
Oscar
#3 Posted: 10/15/2023 6:01:59 PM
ioan92

ioan92

171 likes in 102 posts.

Group: 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 KiB) downloaded 37 time(s).
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 Posted: 10/15/2023 6:09:35 PM
Oscar Campo

Oscar Campo

124 likes in 298 posts.

Group: 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 KiB) downloaded 37 time(s).



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

Jean Giraud

983 likes in 6866 posts.

Group: User

Doctored version from construction.

sumcomplexcolumn.sm (9 KiB) downloaded 31 time(s).
#6 Posted: 10/15/2023 8:41:06 PM
Tere Sergiu-Gheorghe

Tere Sergiu-Gheorghe

1 likes in 2 posts.

Group: User

Thank you very much guys for your answers!
I bought the paid version of smath also because this forum has such great users.
1 users liked this post
Oscar Campo 10/16/2023 10:26:00 PM
  • New Posts New Posts
  • No New Posts No New Posts