Skip to main content
1-Visitor
June 19, 2015
Solved

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

  • June 19, 2015
  • 2 replies
  • 1680 views

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

Best answer by Fred_Kohlhepp

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
June 19, 2015

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.

sfan1-VisitorAuthor
1-Visitor
June 19, 2015

Thanks Fred.

You are always helpful!