Vector x Vector Problem :S ?

Vector x Vector Problem :S ? - Vector x Vector giving me single answer as opposed to a column of answers - Mensajes

#1 Publicado: 19/1/2015 7:16:12
bossman3333

bossman3333

0 me gusta en 2 mensajes.

Grupo: User

Hi all this is my first post.

First off. Great program !!

Now i have a problem and have been searching the web for around 1 hour for a solution.

I am trying to multiply a column with 18 values by another column with 18 values and get 18 results, but instead i get 1 ?

Thanks
Simon
help.jpg
#2 Publicado: 19/1/2015 7:50:56
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: Moderator

Hello bossman3333,

to make an element by element multiplication use a loop or use the diag() function on the first vector
2015-01-19 11_49_36-SMath Studio Desktop - [Page1_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Publicado: 19/1/2015 9:32:40
bossman3333

bossman3333

0 me gusta en 2 mensajes.

Grupo: User

Thanks !!!!
#4 Publicado: 19/1/2015 12:53:38
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: Moderator

You're welcome
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#5 Publicado: 20/1/2015 13:04:03
Ryan Freund

Ryan Freund

20 me gusta en 339 mensajes.

Grupo: User

Good to know about "diag()"

Is that new?
#6 Publicado: 20/1/2015 14:26:10
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: Moderator

nope, just rarely mentioned.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
  • Nuevos mensajes
  • Sin mensajes nuevos