Please how to solve this task

2 ビュー (過去 30 日間)
Venkateshan Shanmugam
Venkateshan Shanmugam 2021 年 6 月 24 日
編集済み: VM Sreeram 2023 年 7 月 7 日

回答 (1 件)

VM Sreeram
VM Sreeram 2023 年 7 月 7 日
編集済み: VM Sreeram 2023 年 7 月 7 日
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.

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by