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

How to multiple two vectors to produce a vector of products?

ddenholm
5-Regular Member

How to multiple two vectors to produce a vector of products?

I am sure I am missing something but...

I want to multiple two vectors... Say, a vector of molecular weights times an equal length vector of component molar flow rates to produce a vector of component mass flow rates.

If I simply multiply the two vectors in MCP3.1, I get a scalar which is the sum of the products (in the example above it would be the total mass flow for the stream).

But how do I generate a vector where each element is the product of a mwt times a molar flow?

[I did look at the vector operators and functions but none of them seemed to do it.]

TIA

--Doug

4 REPLIES 4

You need to use the vectorise operator Available from a couple of places on the ribbon or <ctrl><shift>6

attached is Prime 2 but shows the operation

regards

ddenholm
5-Regular Member
(To:AndyWesterman)

Thanks... That does the trick.

--Doug

Look up "vectorize" in help, an arrow above the multiply operation

ddenholm
5-Regular Member
(To:Fred_Kohlhepp)

Thanks! --Doug

Announcements
Check out the latest
Mathcad Tip
"PTC Mathcad 15 / Prime 1-6 Update."