Akzeptierte Antwort

Sean de Wolski
Sean de Wolski am 25 Mai 2011

1 Stimme

MATLAB indexing starts at 1.
y(1) = 0;

Weitere Antworten (1)

Walter Roberson
Walter Roberson am 25 Mai 2011

0 Stimmen

If you really must index at 0, then you will need to write a custom array class with your own subsref()

Kategorien

Community Treasure Hunt

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

Start Hunting!

Translated by