strtofcplx#

Purpose#

Converts a string array to a complex numeric matrix.

Format#

x = strtofcplx(sa)#
Parameters:

sa (NxK string array) – numeric data

Returns:

x (NxK complex matrix) – complex numeric matrix created from contents in sa;

Remarks#

strtofcplx() supports both real and complex data. It is slower than strtof() for real matrices. strtofcplx() requires the presence of the real part. The imaginary part can be absent.

See also

Functions strtof(), ftostrC()