[States,Indices] = extractState(phd,threshold)
returns all sates of components, States, whose weights are above the
threshold given by threshold, and their corresponding indices,
Indices, in the phd filter,
phd.
States — Extracted states structure | 1-by-N array of structure
Extracted states, returned as a structure or a 1-by-N array of
structure, where N is the number of extracted states. Given the type
of the phd filter, each structure contains:
Indices — Indices of extracted states 1-by-N vector of nonnegative integers
Indices of extracted states, returned as an 1-by-N vector of
nonnegative integers, where N is the number of extracted states. Each
element of the vector is the index of the corresponding extracted state in
States.
Data Types: double
Extended Capabilities
C/C++ Code Generation Generate C and C++ code using MATLAB® Coder™.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.