what is summarised?

2 ビュー (過去 30 日間)
Ioannis Vourvachakis
Ioannis Vourvachakis 2021 年 10 月 30 日
コメント済み: Ioannis Vourvachakis 2021 年 10 月 31 日
I can't understand the syntax. What is summarised?
if mod(sum([subCarbon;prodCarbon;metCarb(cofMetIDs...
(ismember(cofMetIDs,find(model.S(:,i)))))]),2) == 0

採用された回答

Cris LaPierre
Cris LaPierre 2021 年 10 月 30 日
The columns of the array resulting from this concatenation command
[subCarbon; prodCarbon; metCarb(cofMetIDs(ismember(cofMetIDs,find(model.S(:,i)))))]
  2 件のコメント
Walter Roberson
Walter Roberson 2021 年 10 月 30 日
It certainly would have been clearer if they had broken out the metCarb(cofMetIDs(ismember(cofMetIDs,find(model.S(:,i))))) expression into a different variable (or series of variables.)
Ioannis Vourvachakis
Ioannis Vourvachakis 2021 年 10 月 31 日
thank you!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLanguage Fundamentals についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by