Quantcast
Channel: PTC Community : Discussion List - PTC Mathcad
Viewing all articles
Browse latest Browse all 2936

How to multiple across vectors?

$
0
0

In the attached MathCAD 14 worksheet I have defined two vectors and a number. Is it possible to write an equation that would provide a resultant vector in which each first position is the result of the multiplication of a number by the first position in one vector by the first postion in another vector. The second position of the resultant vector is a number multiplied by the second postion in one vector by the second position in another and so. Basically I am attempting to do this:

 

4 * [A] * [E] = [4*A*E]

     [B] * [F] = [4*B*F]

     [C] * [G] = [4*C*G]

     [D] * [H] = [4*D*H]

 

MathCAD is performing this operation as a matrix operation which is what I'm trying not to do. I'm asking because I will eventually be using much larger vectors where I can save time and potential errors by performing it in one step and relying on MathCAD instead of writing out individual equations.


Viewing all articles
Browse latest Browse all 2936

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>