Problem writing a summation expression

Hi,
I am new to matlab. I have this mathematical expression
which is attached in the screenshot.
values of Cj and Ccp,j are a constant. which i call from a matrix. r and T are also constants.
How do i write this in matlab?

 Respuesta aceptada

Torsten
Torsten el 7 de Jun. de 2023
Movida: Torsten el 7 de Jun. de 2023

0 votos

Either you use "sum" or you make a loop over j.
If you don't manage to get C_1, this is an indication that you should visit MATLAB onramp before you continue with your programming:

Más respuestas (0)

Categorías

Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.

Productos

Versión

R2021a

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by