I tried to follow the example in the SEGMENT function documentation at the following location:
<http://www.mathworks.com/access/helpdesk/help/toolbox/ident/segment.shtml>
I typed in the following code in the MATLAB command window, but I received the following error message:
??? Error using ==> ones Size vector must be a row vector with integer elements.
Best Answer