Mathlab program solving answr below
조회 수: 6 (최근 30일)
이전 댓글 표시
I want me to reVerse out put what will Be the math lab program looK Like,
n=5
for i=1:n
for j=1:i
fprintf('%d', i)
end
fprintf('\n')
end
댓글 수: 7
답변 (2개)
Torsten
2022년 8월 20일
이동: Image Analyst
2022년 8월 21일
n = 5;
for i=n:-1:1
for j=n:-1:i
fprintf('%d', i)
end
fprintf('\n')
end
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!