Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Math lab questions solve it
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
John D'Errico
am 19 Aug. 2022
Bearbeitet: John D'Errico
am 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
am 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.
Akzeptierte Antwort
Rik
am 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 Kommentare
Weitere Antworten (0)
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!