Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline ka58642  
#1 Posted : 17 November 2016 14:51:12(UTC)
ka58642

Rank: Newbie

Groups: Registered
Joined: 17/11/2016(UTC)
Posts: 2
Germany

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

Edited by user 17 November 2016 15:29:43(UTC)  | Reason: Not specified

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Davide Carpi  
#2 Posted : 17 November 2016 15:33:52(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,654
Man
Italy
Location: Italy

Was thanked: 1340 time(s) in 879 post(s)
Hello ka58642 Offline

2016-11-17 13_32_51-SMath Studio - [Page1_].png
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
thanks 1 user thanked Davide Carpi for this useful post.
on 17/11/2016(UTC)
Offline ka58642  
#3 Posted : 17 November 2016 16:07:16(UTC)
ka58642

Rank: Newbie

Groups: Registered
Joined: 17/11/2016(UTC)
Posts: 2
Germany

Thank you very much
Offline Jean Giraud  
#4 Posted : 17 November 2016 16:38:48(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Construct your generalised vectorising algo.
Get inspired from the attached.

Jean

Matrix Algo.gif

Utilities Matrix Vectorise EXPRESS.sm (71kb) downloaded 15 time(s).
Offline Jean Giraud  
#5 Posted : 17 November 2016 18:13:49(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
More generally:
1. accomodate rectangular systems
2. define your own multiplicand
3. assign the "algo" processing

Utilities Matrix Vectorise CreateVector.sm (13kb) downloaded 20 time(s).
Offline Jean Giraud  
#6 Posted : 18 November 2016 03:59:00(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
1. Refactored a bit
2. Read more stuff and examples

Jean

Utilities Matrix Vectorise CreateVector.sm (22kb) downloaded 20 time(s).
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.