Please how to solve this task

2 次查看(过去 30 天)

回答(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 CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by