Calculate columnwise

Calculate columnwise - Messaggi

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

ka58642

0 apprezzamenti in 2 post.

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

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: 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 utenti hanno apprezzato questo post
ka58642 17/11/2016 10:07:00
#3 Pubblicato: 17/11/2016 10:07:16
ka58642

ka58642

0 apprezzamenti in 2 post.

Gruppo: User

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

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

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

Jean

Matrix Algo.gif

Utilities Matrix Vectorise EXPRESS.sm (70,54 KiB) scaricato 1184 volta(e).
#5 Pubblicato: 17/11/2016 12:13:49
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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) scaricato 1265 volta(e).
#6 Pubblicato: 17/11/2016 21:59:00
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

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

Jean

Utilities Matrix Vectorise CreateVector.sm (21,25 KiB) scaricato 1266 volta(e).
  • Nuovi post
  • Nessun nuovo post