Calculate columnwise

Calculate columnwise - 消息

#1 已发布: 2016/11/17 08:51:12
ka58642

ka58642

0个赞,共2个帖子。

组: User

Hi

i have a litte Problem an I am not able to figure things out even with the handbook.
It seems to bee a quite simple Problem.

I got an 6x6 matrix and i want to multiply every cell of a collum with an other factor.
I am only able to multiply every cell with a factor.

Because i have a huge number of those i want to do it with a loop.

matrix


I hope my description was well enough

thanks in advance
#2 已发布: 2016/11/17 09:33:52
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

Hello [userlink]ka58642[/userlink]

2016-11-17 13_32_51-SMath Studio - [Page1_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1位用户喜欢此帖子
ka58642 2016/11/17 10:07:00
#3 已发布: 2016/11/17 10:07:16
ka58642

ka58642

0个赞,共2个帖子。

组: User

Thank you very much
#4 已发布: 2016/11/17 10:38:48
Jean Giraud

Jean Giraud

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

组: User

Construct your generalised vectorising algo.
Get inspired from the attached.

Jean

Matrix Algo.gif

Utilities Matrix Vectorise EXPRESS.sm (70.54 KiB)已下载 1196 次。
#5 已发布: 2016/11/17 12:13:49
Jean Giraud

Jean Giraud

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

组: User

More generally:
1. accomodate rectangular systems
2. define your own multiplicand
3. assign the "algo" processing

Utilities Matrix Vectorise CreateVector.sm (12.75 KiB)已下载 1274 次。
#6 已发布: 2016/11/17 21:59:00
Jean Giraud

Jean Giraud

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

组: User

1. Refactored a bit
2. Read more stuff and examples

Jean

Utilities Matrix Vectorise CreateVector.sm (21.25 KiB)已下载 1273 次。
  • 有新帖
  • 无新帖