Community Tip - Help us improve the PTC Community by taking this short Community Survey! X
Will be exposed in a new work sheet
There is no bug.
You are calculating L incorrectly. It should be length(Y).