필터 지우기
필터 지우기

what is summarised?

조회 수: 3 (최근 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 CenterFile Exchange에서 Language Fundamentals에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by