-
1 Comment
Jess Stuart
on 7 Feb 2017
Your weight vector should be a unit vector. W=w/norm(w) to get a true weighted average. Dividing by the max is dumb.
Suggested Problems
-
Find the sum of all the numbers of the input vector
50426 Solvers
-
3338 Solvers
-
952 Solvers
-
Calculate Amount of Cake Frosting
26157 Solvers
-
8377 Solvers
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!