Debugging problem on Matlab

19 Views Asked by At

I have been trying to run a piece of code written in Matlab that contains the following:

function list = shellsort(list);
interval = floor(length(list)/3);

I get the following error message:

Not enough input arguments. 
Error in shellsort (line 3)
interval = floor(length(list)/3);

Any ideas on how to debug it?