Info
This question is closed. Reopen it to edit or answer.
Math lab questions solve it
1 view (last 30 days)
Show older comments
Write a generalized math lab program to print the following pattern first 5 the 4 4 then 3 3 3 then 2 2 2 2 then 1 1 1 1 1 (it look like triangle shape)
12 Comments
John D'Errico
on 19 Aug 2022
Edited: John D'Errico
on 19 Aug 2022
And this just one of many reasons why answering homework questions is just a flat out bad idea on Answers. The student thinks it is ok to pester you for help, in fact, even demand help, as @Hakim is now demanding that people provide their e-mail addresses.
Even offering simple help as Rik did is bad for Answers, because it helps to create a monster, and because it encourges other monsters to think Answers is a service where we wil do their homework.
Is this homework? Or possibly even more likely, this is a test question @Hakim wants to have answered, and thinks is being subtle by declaring it NOT homework. Obviously, as there is no alternative reason why such an easy question would be so important to be answered.
I'm sorry, but this question should have been closed immediately. I would even argue that we should close the question now, even with an accepted answer. But then I would have never answered the question.
Rik
on 19 Aug 2022
@John D'Errico I'll close the question.
@Hakim, stop contacting me via email. If you provide any proof you've read and understood the links I provided I may respond. If you send me another request via the contact form I will contact Mathworks staff.
Accepted Answer
Rik
on 18 Aug 2022
I will not do your homework for you, but these pointers should help you.
doc for
doc repmat % although you can do this part with a loop as well
doc fprintf
7 Comments
More Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!