From: Paul K. <pki...@us...> - 2005-11-06 17:00:41
|
Or even function retval = isinteger(A) retval = ismatrix(A) && (round(A) == A); - Paul On Nov 6, 2005, at 10:00 AM, William Poetra Yoga H wrote: > Hi, I'm new here, and I have a question: can we implement isinteger > this way? > > function retval=isinteger(A) > > if ismatrix(A) && (round(A) == A) > retval=1; > else > retval=0; > end > > > William Poetra Yoga Hadisoeseno > > > > > __________________________________ > Yahoo! Mail - PC Magazine Editors' Choice 2005 > http://mail.yahoo.com > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Octave-dev mailing list > Oct...@li... > https://lists.sourceforge.net/lists/listinfo/octave-dev > |