sayurabh
Member level 4
why matla doesnot accept the negative indexing the array u understand what i ms aying for e.g
>> x=1:4;
>> n=-2:2;
>> x
??? Subscript indices must either be real positive integers or logicals.
that is the problem why we cannot do negative indexing i cannot do sigshifting and adding both and i cannot calculate even and odd parts of the discrete signal plz solve my problem
>> x=1:4;
>> n=-2:2;
>> x
??? Subscript indices must either be real positive integers or logicals.
that is the problem why we cannot do negative indexing i cannot do sigshifting and adding both and i cannot calculate even and odd parts of the discrete signal plz solve my problem