Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

how to do summation

1 visualización (últimos 30 días)
Tudor
Tudor el 30 de Mzo. de 2013
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
Hello I just starded using matlab for my disertation (I used it before but nothing very advanced). I am trying to do this sumation and I can't find the right way this is how it is written:
OTM(i) = sum(where j= from i to 12) F(j)*(H(j)-H(i));
I would realy apreciate this.

Respuestas (1)

Walter Roberson
Walter Roberson el 30 de Mzo. de 2013
sum(F(1:12) .* (H(1:12) - H(i)))

La pregunta está cerrada.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by