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일

0 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Chemistry에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by