how can I make a table for this loop

clc, clear
integer = 1;
for x = 1:20
integer = integer*x
end

Respuestas (1)

Andrei Bobrov
Andrei Bobrov el 12 de Oct. de 2017
Editada: Andrei Bobrov el 12 de Oct. de 2017
cumprod(1:20)

La pregunta está cerrada.

Etiquetas

Preguntada:

el 12 de Oct. de 2017

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by