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.
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
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
Steven Lord 2023 年 1 月 30 日
In an answer on a different question, the poster indicated this is an exam question.

回答 (0 件)

この質問は閉じられています。

質問済み:

2023 年 1 月 30 日

閉鎖済み:

2023 年 1 月 30 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by