Can I convert a complex value vector into corresponding string?
8 次查看(过去 30 天)
显示 更早的评论
Hey I am reading character data from a text file and converting it into numeric value for further processing. After getting numeric value I performed addition operation with a complex value. Here is the sample code: f=fopen('abc.txt','r'); %open a text file y=fscanf(f,'%s'); %read the data fclose(f); w=double(y); %convert character data to corresponding double value u=w+zne; %add a complex number I just want to convert the result (u) back to its corresponding character form which I am not getting. Please help...
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Type Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!