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

15 次查看(过去 30 天)
Jmatf11(fmag>0) = (fx(fmag>0)./fmag(fmag>0)).^2 .* Jmf(fmag>0);

采纳的回答

Walter Roberson
Walter Roberson 2018-1-18
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 个)

类别

Help CenterFile Exchange 中查找有关 Whos 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by