Create an array, permutation

Hello, I have (a, b, c) i want to get ((a-b)^2, (b-c)^2, (c-a)^2) My goal is to maximize dot product of (1/6,1/3,1/2)*((a-b)^2,(b-c)^2,(c-a)^2) So i want to permute (1/6,1/3,1/2) find max value of dot product to choose best weights for (a,b,c)

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Get Started with MATLAB 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by