MATLAB: Y(0)=0

zero indexing v. one indexing

why i cant do that ? y(0)=0; i really have to..

Best Answer

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