WRITE AN MATLAB CODE
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Develop MATLAB and C code to generate the triangle in the figure below. Use a function
with nomenclature Asterix(n) which consumes a number of rows, n, establishing the height of the triangle.
Take the asterisk,* and the value of 1 as the exit symbol. For example, the purpose of the function.
2 Comments
Dyuman Joshi
on 30 Jan 2023
This sounds like a homework assignment. If it is, show us the code you've written to try to solve the problem and ask a specific question about a problem/error.
If you aren't sure where to start because you're not familiar with how to write MATLAB code, I suggest you start with the free MATLAB Onramp tutorial to quickly learn the essentials of MATLAB.
Steven Lord
on 30 Jan 2023
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!