採用された回答

Ollie A
Ollie A 2019 年 1 月 30 日

0 投票

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.

1 件のコメント

Migena Mankollari
Migena Mankollari 2019 年 2 月 3 日
It worked. thank you.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMathematics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by