Réponses (1)

Andrei Bobrov
Andrei Bobrov le 23 Nov 2015

0 votes

prod(2:2:10);

2 commentaires

daniel clarke
daniel clarke le 23 Nov 2015
How would you put that into the for loop?
Torsten
Torsten le 23 Nov 2015
Modifié(e) : Torsten le 23 Nov 2015
out = 1;
for jj = 2:2:10
out = out*jj;
end

Connectez-vous pour commenter.

Catégories

En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange

Tags

Modifié(e) :

le 23 Nov 2015

Community Treasure Hunt

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

Start Hunting!

Translated by