HOW TO PERFORM THIS EQUATION IN MATLAB?u=∑​_(i=1)^t▒(​i*p_i/w)

I NEED MATLAB CODING FOR THIS FORMULA

1 comentario

Jan
Jan el 9 de Oct. de 2013
Uppercase means shouting in internet forums.
I see a strange character containing a lot of dots behind the "t". What does this mean?

Iniciar sesión para comentar.

 Respuesta aceptada

Ahmed
Ahmed el 9 de Oct. de 2013
Here is a minimal example with random data. The last line is the actual answer to your question.
t = 100;
p = rand(1,t);
w = 0.5;
u = sum((1:t).*p/w)

Más respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 9 de Oct. de 2013

Comentada:

Jan
el 9 de Oct. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by