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

1 vue (au cours des 30 derniers jours)
Paris M.
Paris M. le 11 Fév 2021
Modifié(e) : Paris M. le 11 Fév 2021
How to fix an "index exceeds the number of array elements (1) error"

Réponse acceptée

Walter Roberson
Walter Roberson le 11 Fév 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

Plus de réponses (0)

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by