what is summarised?

1 visualización (últimos 30 días)
Ioannis Vourvachakis
Ioannis Vourvachakis el 30 de Oct. de 2021
Comentada: Ioannis Vourvachakis el 31 de Oct. de 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

Respuesta aceptada

Cris LaPierre
Cris LaPierre el 30 de Oct. de 2021
The columns of the array resulting from this concatenation command
[subCarbon; prodCarbon; metCarb(cofMetIDs(ismember(cofMetIDs,find(model.S(:,i)))))]
  2 comentarios
Walter Roberson
Walter Roberson el 30 de Oct. de 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.)
Ioannis Vourvachakis
Ioannis Vourvachakis el 31 de Oct. de 2021
thank you!

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by