how can I make a table for this loop

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

回答 (1 件)

Andrei Bobrov
Andrei Bobrov 2017 年 10 月 12 日
編集済み: Andrei Bobrov 2017 年 10 月 12 日

0 投票

cumprod(1:20)

この質問は閉じられています。

タグ

質問済み:

2017 年 10 月 12 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by