WRITE AN MATLAB CODE
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
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 个评论
Dyuman Joshi
2023-1-30
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
2023-1-30
回答(0 个)
此问题已关闭。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!