Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

how can I make a table for this loop

1 visualizzazione (ultimi 30 giorni)
Jorge Tejada
Jorge Tejada il 12 Ott 2017
Chiuso: MATLAB Answer Bot il 20 Ago 2021
clc, clear
integer = 1;
for x = 1:20
integer = integer*x
end

Risposte (1)

Andrei Bobrov
Andrei Bobrov il 12 Ott 2017
Modificato: Andrei Bobrov il 12 Ott 2017
cumprod(1:20)

Questa domanda è chiusa.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by