Mathlab program solving answr below
1 view (last 30 days)
Show older comments
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 Comments
Answers (2)
Torsten
on 20 Aug 2022
Moved: Image Analyst
on 21 Aug 2022
n = 5;
for i=n:-1:1
for j=n:-1:i
fprintf('%d', i)
end
fprintf('\n')
end
0 Comments
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!