Azzera filtri
Azzera filtri

Multiplication of array function

2 visualizzazioni (ultimi 30 giorni)
M
M il 26 Ago 2023
Commentato: Voss il 27 Ago 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)))) ;

Risposta accettata

Voss
Voss il 26 Ago 2023
  3 Commenti
M
M il 27 Ago 2023
@Voss Thanks!
Voss
Voss il 27 Ago 2023
You're welcome!

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Matrices and Arrays in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by