iscplxf#

Purpose#

Returns whether a dataset is complex or real.

Format#

fh_iscplx = iscplxf(fh)#
Parameters:

fh (scalar) – file handle of an open file.

Returns:

fh_iscplx (scalar) – 1 if the dataset is complex, 0 if it is real.

Examples#

// Open a dataset file
open fh = mydata.dat;

// Check if the dataset contains complex data
result = iscplxf(fh);
print result;

fh = close(fh);

See also

Functions hasimag(), iscplx()