Error in reading csv file with xlsread

2 次查看(过去 30 天)
Hi all,
Attached is the csv file. I tried everything but can't seem to read the file. Most people in the Mathworks are saying that xlsread should do the trick but it didn't for me.
Please let me know what else i can do to read it

采纳的回答

Star Strider
Star Strider 2020-5-17
I had no problems reading it and plotting it with xlsread (although I cannot determine if the data are plotted correctly because I have no idea what the data represent). (I am using R2020a.)
Try this:
D = xlsread('Radar_frames_Mat.csv');
x = D(1,2:end);
y = D(2:end,1);
figure
mesh(x, y, D(2:end,2:end))
grid on
  4 个评论
ARN
ARN 2020-5-18
Thanks, xls worked fine with R2020a.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by