importing and exporting complex numbers from/in MATLAB

In this demo example, we create complex data, export it out and import back as a numeric complex #

You are now following this Submission

This is what works best in importing and exporting complex numbers (data sets). In MATLAB, for the best knowledge of the author there is no format to export complex numbers (data). In this demo example, we create complex data, export it out and import back as a numeric complex data set.
% Example: create two random number generated data sets:
% Export compex data (AB_data) out
% Import the data back and convert to numeric data(double)

Cite As

Sulaymon ESHKABILOV (2026). importing and exporting complex numbers from/in MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/31182-importing-and-exporting-complex-numbers-from-in-matlab), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0