답변 (1개)

VM Sreeram
VM Sreeram 2023년 7월 7일
편집: VM Sreeram 2023년 7월 7일

0 개 추천

The issue here is because the plot generated has 8 points, not 7. You're plotting one time using line 5 and seven times using line 12 (enclosed in the for loop).
To fix this, you have to remove the block of code in lines 4-7.

카테고리

도움말 센터File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

질문:

2021년 6월 24일

편집:

2023년 7월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by