NCCOOS Trac Projects: Top | Web | Platforms | Processing | Viz | Sprints | Sandbox | (Wind)

root/gliderproc/trunk/MATLAB/opnml/html/6.basics/isint.html

Revision 495 (checked in by cbc, 12 years ago)

Initial import of Stark code.

Line 
1 <TITLE>/</TITLE>
2 <BODY>
3 <A HREF = "index.html">[Index for ./basics]</A>
4 <A HREF = "../index.html">[Return to Master Index]</A>
5 <H1>isint</H1>
6 <H2>(./basics/isint.m)</H2>
7 <HR><H3>Function Synopsis</H3>
8 <pre>retval=isint(x)</pre>
9 <HR><H3>Help text</H3>
10 <pre>
11
12  ISINT determine if input matrix is integers
13
14  ISINT a Matlab function to determine which input matrix positions
15        contain an integer or one that can be represented as an integer.
16        ISINT returns 1 where matrix entry is integer and a 0 otherwise.
17
18        If x is a vector or matrix, ISINT returns a vector or matrix
19        the same size as x with each element of the input being
20        evaluated as above.
21
22        Ex. 1;  if x=3.2, ISINT returns 0
23                if x=3.0, ISINT returns 1
24                if x=3, ISINT returns 1
25                if x=0, ISINT returns 1
26
27        Ex. 2;  &gt;&gt; x=[3   3.5
28                      4.5 6  ];
29                &gt;&gt; isint(x)
30                  
31                ans = 1 0
32                      0 1
33
34
35  Call as: &gt;&gt; retval=isint(x)
36
37  Written by : Brian O. Blanton
38
39 </pre>
40 <HR><H3>Cross-Reference Information</H3>This function is called by
41 <pre><UL>
42 <LI><A HREF = "../6.basics/gen_drog_grid.html">gen_drog_grid</A>  ./basics/gen_drog_grid.m</LI>
43 <LI><A HREF = "../6.basics/gen_drog_line.html">gen_drog_line</A>  ./basics/gen_drog_line.m</LI>
44 </UL></pre>
45 <HR>
46 Produced by <A HREF="http://www.nd.edu/Courses/kantor/matlab/mat2html">mat2html</A> on Tue Feb  2 16:15:45 EST 1999
47 <BR>
48 Cross-Directory links are: OFF<BR>
49 </BODY>
Note: See TracBrowser for help on using the browser.