Weighted linear combination between vectors
3 views (last 30 days)
Show older comments
Hello,
I have a matrix W 32x4. I made the linear combinations of all its column vectors, considering all the possible pairs and triples.
Example:
w1=[1 2 3] w2=[4 5 6] Combination_vector=[5 7 9]. I ideally considered my scalar coefficient as 1. (given the formula C=[aw1+bw2]
I want to now find a vector C that is the weighted linear combination of my vectors
How can I implement it?
Thank you!
0 Comments
Accepted Answer
See Also
Categories
Find more on Operating on Diagonal Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!