Filter löschen
Filter löschen

What is meant by this syntax : ( another variable in brackets after a variable)

9 Ansichten (letzte 30 Tage)
Jmatf11(fmag>0) = (fx(fmag>0)./fmag(fmag>0)).^2 .* Jmf(fmag>0);

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 18 Jan. 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

Weitere Antworten (0)

Kategorien

Mehr zu Operators and Elementary Operations finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by