y(0)=0

1 visualizzazione (ultimi 30 giorni)
George
George il 25 Mag 2011
why i cant do that ? y(0)=0; i really have to..

Risposta accettata

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

Più risposte (1)

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

Community Treasure Hunt

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

Start Hunting!

Translated by