Documentation of idnonzer


Global Index (short | long) | Local contents | Local Index (short | long)


Function Synopsis

zerst = idnonzer(inp)

Help text

IDNONZER Returns subset of input vector that are valid handles.
   INP:   A vector of candidate handles
   ZERST: Vector of valid handles

Cross-Reference Information

This function is called by

Listing of function idnonzer

function zerst = idnonzer(inp)

%   L. Ljung 4-4-94
%   Copyright (c) 1986-98 by The MathWorks, Inc.
%   $Revision: 2.3 $  $Date: 1997/12/02 03:40:47 $

inp = inp(:);
inp = inp(inp>0);
zerst = inp(ishandle(inp));