Reverse calculation for weighted average
Show older comments
I need to generate an array of five elements, e.g., [a,b,c,d,e]. The weightage of each of the elements are known, e.g., [5,4,3,2,1]. The weighted average value of that array is known, say 3.09. Also, it is said that the sum of the array elements is 100, i.e., a +b+ c+ d+ e =100.
Is there any way to find out possible values of the array elements a, b, c, d, e ?
Accepted Answer
More Answers (0)
Categories
Find more on Creating and Concatenating 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!