Azzera filtri
Azzera filtri

Please how to solve this task

1 visualizzazione (ultimi 30 giorni)
Venkateshan Shanmugam
Venkateshan Shanmugam il 24 Giu 2021
Modificato: VM Sreeram il 7 Lug 2023

Risposte (1)

VM Sreeram
VM Sreeram il 7 Lug 2023
Modificato: VM Sreeram il 7 Lug 2023
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.

Categorie

Scopri di più su Loops and Conditional Statements in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by