issingle() - Signal Processing
flag =
issingle(d) returns true if
the coefficients of a digital filter, d, are
single precision.
Syntax
flag =
issingle(d) example
Example
Single- and Double-Precision FiltersOpen This Example
Use designfilt to design a 6th-order highpass IIR filter. Specify a normalized passband frequency of
rad/sample. Convert it to a single-precision filter. Identify the precision in each case.
fd = designfilt('highpassiir','FilterOrder',6,'PassbandFrequency',0.6);
isd = issingle(fd)
fs = single(fd);
iss = issingle(fs)
isd =
0
iss =
1
Output / Return Value
Limitations
Alternatives / See Also
Reference