Antworten (1)

Andrei Bobrov
Andrei Bobrov am 23 Nov. 2015

0 Stimmen

prod(2:2:10);

2 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 23 Nov. 2015

Bearbeitet:

am 23 Nov. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by