Please help with this

Risposte (1)

Andrei Bobrov
Andrei Bobrov il 23 Nov 2015
prod(2:2:10);

2 Commenti

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

Accedi per commentare.

Categorie

Scopri di più su Loops and Conditional Statements in Centro assistenza e File Exchange

Tag

Richiesto:

il 23 Nov 2015

Modificato:

il 23 Nov 2015

Community Treasure Hunt

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

Start Hunting!

Translated by