You are here : matlabSignal Processingisdouble

isdouble() - Signal Processing

flag =
isdouble(d) returns true if
the coefficients of a digital filter, d, are
double precision.


Syntax

flag =
isdouble(d) example


Example

Double- and Single-Precision FilterOpen This Example
Use designfilt to design a sixth-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 = isdouble(fd)
fs = single(fd);
iss = isdouble(fs)

isd =

     1


iss =

     0


Output / Return Value


Limitations


Alternatives / See Also


Reference