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

5 ビュー (過去 30 日間)
Sagar  Saxena
Sagar Saxena 2018 年 1 月 18 日
回答済み: Walter Roberson 2018 年 1 月 18 日
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 Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by