cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Translate the entire conversation x

Element by element Multiplication

aasper
1-Visitor

Element by element Multiplication

I have 2 matrices that I need to multiply in the same way we normally add matrices.

a=(1,3,5)

b=(2,4,6)

a*b=(2,12,30)

How can I get this result? I want to multiply the first row with the first row and make that the new first row, etc.

2 REPLIES 2
StuartBruff
23-Emerald IV
(To:aasper)

Look up the "vectorize" operator in your version of Mathcad.  The vectorize operator is intended for precisely this kind of situation. 

Stuart

(I would have posted an example, but I'm without Mathcad at the moment)

Here's an example in Mathcad 15 ...

Stuart

Announcements


Top Tags