Mu Analysis and Synthesis Toolbox | ![]() ![]() |
Unary find
function across independent variable
Syntax
Description
vfind
is a unary find
function that searches across independent variable values. The condition to be tested can be any valid MATLAB conditional statement, using the string mat
to identify the matrix, and iv
as the independent variable's value. Both the values and indices of the applicable independent variables are returned.
Examples
Suppose that matin
is a VARYING matrix. In order to find those entries for which the product of the norm of the matrix, and the independent variable is greater than 2, use vfind
as follows:
[iv_value,iv_index] = vfind('iv*norm(mat)>2',matin); matpropv = xtract(matin,iv_value); % extract by value matpropi = xtracti(matin,iv_index); % extract by index pkvnorm(msub(matpropv,matpropi)) % compare - both are the same
See Also
find
, xtract
, xtracti
![]() | vfft, vifft, vspect | vinterp, vdcmate | ![]() |