How to save and load complex variables and their values in Matlab?

21 次查看(过去 30 天)
Hello
Could you please help me in the following problem?
>> clear all
>> A = [2+3i;3+i;4-2i]; % example
>> save A.txt A -ascii
Warning: Imaginary part of complex variable 'A' not saved to
ASCII file.
when I try to save the complex A matrix I get this error message.
How can I save A and load it in Matlab?
many thansk in advance!!

采纳的回答

Stephen23
Stephen23 2018-1-9

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Import from MATLAB 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by