how can I make a table for this loop
Info
This question is closed. Reopen it to edit or answer.
Show older comments
clc, clear
integer = 1;
for x = 1:20
integer = integer*x
end
Answers (1)
Andrei Bobrov
on 12 Oct 2017
Edited: Andrei Bobrov
on 12 Oct 2017
cumprod(1:20)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!