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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

How to multiply two vectors cell by cell like '.*' in Matlab

sfan
1-Newbie

How to multiply two vectors cell by cell like '.*' in Matlab

Hi,

In matlab it is convenient to multiply two vector cell by cell with .*,

But I don't know how it works with Mathcad, 15 or Prime.

Is there a built-in function for that or I have to program.

Could someone help me with that?

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
Fred_Kohlhepp
23-Emerald I
(To:sfan)

You want to "vectorize" the calculation, In version 15 it's "cntrl shift -" (the underline), in Prime it's "cntrl shift ^".  This will draw an arrow over the operation and perform the function cell by cell.

View solution in original post

2 REPLIES 2
Fred_Kohlhepp
23-Emerald I
(To:sfan)

You want to "vectorize" the calculation, In version 15 it's "cntrl shift -" (the underline), in Prime it's "cntrl shift ^".  This will draw an arrow over the operation and perform the function cell by cell.

sfan
1-Newbie
(To:sfan)

Thanks Fred.

You are always helpful!

Top Tags