Mercurial > hg > plml
view matlab/db/typecode.m @ 7:39982f16da0b
Updated dcgu.pl, added C++ compiler option to cpp/Makefile
author | samer |
---|---|
date | Thu, 19 Jan 2012 14:32:49 +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);