Multiplication of array function

3 ビュー (過去 30 日間)
M
M 2023 年 8 月 26 日
コメント済み: Voss 2023 年 8 月 27 日
In the following line how can I use multiplication instead of "sum" ?
(sum(arrayfun(@(i)acos(S(i,i))^2,1:size(S,1)))) ;

採用された回答

Voss
Voss 2023 年 8 月 26 日
  3 件のコメント
M
M 2023 年 8 月 27 日
@Voss Thanks!
Voss
Voss 2023 年 8 月 27 日
You're welcome!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrices and Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by