采纳的回答

If is a tensor, you could represent it as a matrix.
Then your code should look something like this:
lamda = ones(1,n);
b = sum(ones(U,n),1);
rho = lamda./b;
Maybe this will work. You'll have to replace the matrices for lamda and b.

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Mathematics and Optimization 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by