how to convert .mat comp int to excel

4 views (last 30 days)
art trip
art trip on 1 Dec 2018
Commented: KALYAN ACHARJYA on 1 Dec 2018
hi,
i have one .mat file in type: complex integer
when i used bellow code, only Real part of numbers saved to excel sheet:
data=load('CDdata1.mat');
f=fieldnames(data);
for k=1:size(f,1)
xlswrite('FileName.xlsx',data.(f{k}),f{k})
end
i need to save complex int to each cells of excel
thnx

Answers (0)

Community Treasure Hunt

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

Start Hunting!