y(0)=0

22 vues (au cours des 30 derniers jours)
George
George le 25 Mai 2011
why i cant do that ? y(0)=0; i really have to..

Réponse acceptée

Sean de Wolski
Sean de Wolski le 25 Mai 2011
MATLAB indexing starts at 1.
y(1) = 0;

Plus de réponses (1)

Walter Roberson
Walter Roberson le 25 Mai 2011
If you really must index at 0, then you will need to write a custom array class with your own subsref()

Catégories

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

Community Treasure Hunt

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

Start Hunting!

Translated by