Check which imat_fn elements satisfy a filter.
v=in_filter(z,f)
The IN_FILTER utility function creates a logical array v which is true (1) for all elements of and imat_fn object f which satisfy the imat_filt object z, and false (0) elsewhere. The output array has the same dimension as f (even if f is multidimensional).
>> f
f =
5x1 IMAT Function
with the following attributes:
Record Name FunctionType AbscissaSpacing NumberElements
--------------------------- ---------------- ---------------- ----------------
1_(1X+,1X+) Fquency Respon Even 1601
2_(1X+,2Y+) Frequency Respon Even 1601
3_(1X+,2Z+) Frequency Respon Even 1601
4_(1X+,3X+) Frequency Respon Even 1601
5_(1X+,1X+) Auto Spectrum Even 1601
>> z=imat_filt('functiontype', '=', 'Frequency Response Function');
>> in_filter(z,f)
ans =
1
1
1
1
0
>>