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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

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

ddenholm
6-Contributor

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

Thanks... That does the trick.

--Doug

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

Thanks! --Doug

Top Tags