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

조회 수: 5 (최근 30일)
Tuncay Eren
Tuncay Eren 2018년 1월 9일
댓글: Tuncay Eren 2018년 1월 9일
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