Please how to solve this task

Respuestas (1)

VM Sreeram
VM Sreeram el 7 de Jul. de 2023
Editada: VM Sreeram el 7 de Jul. de 2023

0 votos

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.

Categorías

Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 24 de Jun. de 2021

Editada:

el 7 de Jul. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by