Mercurial > hg > plml
view matlab/db/typecode.m @ 35:af5fa681278e
Fixed warning.
author | samer |
---|---|
date | Thu, 06 Feb 2014 14:47:53 +0000 |
parents | 0dd31a8c66bd |
children |
line wrap: on
line source
% typecode - Return basic typing information about a value % % typecode :: A -> natural ~'number of elements', bool ~'is numeric', bool ~'is char'. function [n,isnum,isch]=typecodes(X) n=numel(X); isnum=isnumeric(X); isch=ischar(X); %tp=class(X);