Home > freetb4matlab > nnet > isposint.m

isposint

PURPOSE ^

% @code{isposint} returns true for positive integer values.

SYNOPSIS ^

function f = isposint(n)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} @var{f} = isposint(@var{n})
% @code{isposint} returns true for positive integer values.
% 
% @example
%   isposint(1)   % this returns TRUE
%   isposint(0.5) % this returns FALSE
%   isposint(0)   % this also return FALSE
%   isposint(-1)  % this also returns FALSE
% @end example
%
% 
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003