view general/cellutils/@cell/head.m @ 53:3ba80c9914ff

Minor doc fix, added .class to .hgignore
author samer
date Mon, 02 Feb 2015 10:47:55 +0000
parents e44f49929e56
children
line wrap: on
line source
% head - Head for cell arrays (first element)
%
% head :: cells(A) -> A.
function y=head(x), y=x{1}; % if iscell(x), y=x{1}; else y=x; end;