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

14 visualizaciones (últimos 30 días)
Jmatf11(fmag>0) = (fx(fmag>0)./fmag(fmag>0)).^2 .* Jmf(fmag>0);

Respuesta aceptada

Walter Roberson
Walter Roberson el 18 de En. de 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

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by