I don't know how to fix "Index exceeds the number of array elements (1)".

1 Ansicht (letzte 30 Tage)
How to fix an "index exceeds the number of array elements (1) error"

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 11 Feb. 2021
Your y0 is one number subtracted from another, not two numbers. When you want a negative number, put the negative sign immediately beside the number, 1 -1 or else use a comma between elements 1,- 1 but 1 - 1 is subtraction

Weitere Antworten (0)

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by