Calculate columnwise

Calculate columnwise - Messages

#1 Posted: 11/17/2016 8:51:12 AM
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: 11/17/2016 9:33:52 AM
Davide Carpi

Davide Carpi

1416 likes in 2873 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 11/17/2016 10:07:00 AM
#3 Posted: 11/17/2016 10:07:16 AM
ka58642

ka58642

0 likes in 2 posts.

Group: User

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

Jean Giraud

983 likes in 6866 posts.

Group: User

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

Jean

Matrix Algo.gif

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

Jean Giraud

983 likes in 6866 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 KiB) downloaded 43 time(s).
#6 Posted: 11/17/2016 9:59:00 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

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

Jean

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