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