Filter löschen
Filter löschen

Multiplication of array function

2 Ansichten (letzte 30 Tage)
M
M am 26 Aug. 2023
Kommentiert: Voss am 27 Aug. 2023
In the following line how can I use multiplication instead of "sum" ?
(sum(arrayfun(@(i)acos(S(i,i))^2,1:size(S,1)))) ;

Akzeptierte Antwort

Voss
Voss am 26 Aug. 2023
  3 Kommentare
M
M am 27 Aug. 2023
@Voss Thanks!
Voss
Voss am 27 Aug. 2023
You're welcome!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by