Column sumation of a complex matrix

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

#1 已发布: 2023/10/15 15:25:52
Tere Sergiu-Gheorghe

Tere Sergiu-Gheorghe

1个赞,共2个帖子。

组: 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)已下载 1395 次。
#2 已发布: 2023/10/15 17:33:50
Oscar Campo

Oscar Campo

135个赞,共309个帖子。

组: 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)已下载 1389 次。

Regards,
Oscar
#3 已发布: 2023/10/15 18:01:59
ioan92

ioan92

181个赞,共124个帖子。

组: 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)已下载 1395 次。
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 已发布: 2023/10/15 18:09:35
Oscar Campo

Oscar Campo

135个赞,共309个帖子。

组: 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)已下载 1395 次。



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

Jean Giraud

983个赞,共6,866个帖子。

组: User

Doctored version from construction.

sumcomplexcolumn.sm (9.96 KiB)已下载 1420 次。
#6 已发布: 2023/10/15 20:41:06
Tere Sergiu-Gheorghe

Tere Sergiu-Gheorghe

1个赞,共2个帖子。

组: 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位用户喜欢此帖子
Oscar Campo 2023/10/16 22:26:00
  • 有新帖
  • 无新帖