1
.TH find 1 "April 1993" "Scilab Group" "Scilab Function"
4
find - find indices of boolean vector or matrix true elements
13
: a boolean vector or a boolean matrix or a "standard" matrix
16
: integer vectors of indices or empty matrices
18
If \fVx\fR is a boolean matrix,
20
\fVii=find(x)\fR returns the vector
21
of indices \fVi\fR for which \fVx(i)\fR is "true". If no true element
22
found find returns an empty matrix.
24
\fV[ir,ic]=find(x)\fR returns two vectors of indices \fVir\fR (for rows) and \fVic\fR (for columns)
25
such that \fVx(ir(n),ic(n))\fR is "true". If no true element
26
found find returns empty matrices in \fVir\fR and \fVic\fR.
28
if \fVx\fR is standard matrix \fVfind(x)\fR is interpreted as
31
\fVfind([])\fR returns \fV[]\fR
40
boolean, extraction, insertion