Calculate columnwise

Calculate columnwise - Messages

#1 Posted: 2016/11/17 08:51:12
ka58642

ka58642

0 likes in 2 posts.

Group: 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 Posted: 2016/11/17 09:33:52
Davide Carpi

Davide Carpi

1,435 likes in 2,913 posts.

Group: 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 users liked this post
ka58642 2016/11/17 10:07:00
#3 Posted: 2016/11/17 10:07:16
ka58642

ka58642

0 likes in 2 posts.

Group: User

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

Jean Giraud

983 likes in 6,866 posts.

Group: User

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

Jean

Matrix Algo.gif

Utilities Matrix Vectorise EXPRESS.sm (70.54 KiB) downloaded 609 time(s).
#5 Posted: 2016/11/17 12:13:49
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: 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) downloaded 648 time(s).
#6 Posted: 2016/11/17 21:59:00
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

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

Jean

Utilities Matrix Vectorise CreateVector.sm (21.25 KiB) downloaded 665 time(s).
  • New Posts
  • No New Posts