MATLAB: Can anybody tell me the meaning of “end-1” instruction here?thank you.

pipelined adc

ptot=15:1024;
sfdr=max(ptot(nper+2:end-1))

Best Answer

Not knowing what "nper" is makes it a bit more complex to explain, however, sfdr is set to be equal the max value of ptot in the interval going between nper+2 and the 2nd to last value (end-1)