Skip to main content
1-Visitor
Jun 19, 2015 6:35 PM UTC
Solved

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

23-Emerald I
Jun 19, 2015 6:53 PM UTC

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.

2 replies

23-Emerald I
Jun 19, 2015 6:53 PM UTC

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.

Translate
sfan1-VisitorAuthor
1-Visitor
Jun 19, 2015 7:39 PM UTC

Thanks Fred.

You are always helpful!

Translate