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