MATLAB: How to save and load complex variables and their values in Matlab

loadsave

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!!

Best Answer

Related Question