What is meant by this syntax : ( another variable in brackets after a variable)
9 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Sagar Saxena
il 18 Gen 2018
Risposto: Walter Roberson
il 18 Gen 2018
Jmatf11(fmag>0) = (fx(fmag>0)./fmag(fmag>0)).^2 .* Jmf(fmag>0);
0 Commenti
Risposta accettata
Walter Roberson
il 18 Gen 2018
variable(expression) is indexing. In that expression it is "logical indexing". See https://www.mathworks.com/help/matlab/math/matrix-indexing.html#bq7egb6-1
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Operators and Elementary Operations 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!