imat_filt/char


Purpose

Convert function filter into character string.

Syntax

s=char(z)

Description

When applied to an imat_filt object, the CHAR function converts a filter z into a human-readable string representation. This process is not reversible (i.e., you cannot pass the resulting string to the imat_filt constructor to build an imat_filt variable).

Note that the character representation is what gets printed when you display a filter.

Examples

>> z=imat_filt('functiontype','=','frequency response')

z =
  FunctionType == 'Frequency Response Function'

>> s=char(z)

s =
     FunctionType == 'Frequency Response Function'

>> whos
Name      Size         Bytes  Class
s         1x45            90  char array
z         1x1            610  imat_filt object
Grand total is 93 elements using 700 bytes
>>

See Also

imat_filt/imat_filt