Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

Vector multiplication 1

Status
Not open for further replies.

hoshang

Civil/Environmental
Jul 18, 2012
479
0
0
IQ
Hi,
Please find the attached image:
Capture_ldff8s.png

As you note, I did need several equations to find the values (1.023, 1.004, 0.976, 0.955) due to the fact that the multiplication of two column vectors is a unique value.
How one can write a unique equation to get these numbers?
A work around came into mind that I use transpose of Lambda, then get diagonal of the result.
Your help would be highly appreciated.
 
Replies continue below

Recommended for you

You want to use the Vectorize operator:
Mathcad_Vectorize_Operator_edn2yt.jpg


============
"Is it the only lesson of history that mankind is unteachable?"
--Winston S. Churchill
 
Typically, you could do the same calculation by creating an index i := 0;rows(a.w)-1 and create an indexed calculation, i.e., result[i := 1-a.w[i/1200+300*a.w[i etc. The vectorize operator does that automatically, but the indices all have to match.

TTFN (ta ta for now)
I can do absolutely anything. I'm an expert! faq731-376 forum1529 Entire Forum list
 
Status
Not open for further replies.
Back
Top