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

Community email notifications are disrupted. While we are working to resolve, please check on your favorite boards regularly to keep up with your conversations and new topics.

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