NCCOOS Trac Projects: Top | Web | Platforms | Processing | Viz | Sprints | Sandbox | (Wind)

root/gliderproc/trunk/MATLAB/matutil/vcolon.m

Revision 495 (checked in by cbc, 11 years ago)

Initial import of Stark code.

Line 
1
2 function out = vcolon(in);
3
4 if(prod(size(in))~=2)
5   error('Input must be 2x1 or 1x2 vector');
6 else
7   out=in(1):in(2);
8 end
Note: See TracBrowser for help on using the browser.