what is summarised?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ioannis Vourvachakis
am 30 Okt. 2021
Kommentiert: Ioannis Vourvachakis
am 31 Okt. 2021
I can't understand the syntax. What is summarised?
if mod(sum([subCarbon;prodCarbon;metCarb(cofMetIDs...
(ismember(cofMetIDs,find(model.S(:,i)))))]),2) == 0
0 Kommentare
Akzeptierte Antwort
Cris LaPierre
am 30 Okt. 2021
The columns of the array resulting from this concatenation command
[subCarbon; prodCarbon; metCarb(cofMetIDs(ismember(cofMetIDs,find(model.S(:,i)))))]
2 Kommentare
Walter Roberson
am 30 Okt. 2021
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.)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Language Fundamentals finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!