y(0)=0

 Respuesta aceptada

Sean de Wolski
Sean de Wolski el 25 de Mayo de 2011

1 voto

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

Más respuestas (1)

Walter Roberson
Walter Roberson el 25 de Mayo de 2011

0 votos

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

Categorías

Preguntada:

el 25 de Mayo de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by