Multiplication of array function

조회 수: 1 (최근 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 CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by