Please help with this

Respuestas (1)

Andrei Bobrov
Andrei Bobrov el 23 de Nov. de 2015

0 votos

prod(2:2:10);

2 comentarios

daniel clarke
daniel clarke el 23 de Nov. de 2015
How would you put that into the for loop?
Torsten
Torsten el 23 de Nov. de 2015
Editada: Torsten el 23 de Nov. de 2015
out = 1;
for jj = 2:2:10
out = out*jj;
end

Iniciar sesión para comentar.

Categorías

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

Etiquetas

Preguntada:

el 23 de Nov. de 2015

Editada:

el 23 de Nov. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by