Error in reading csv file with xlsread

조회 수: 2 (최근 30일)
ARN
ARN 2020년 5월 17일
댓글: Star Strider 2020년 5월 18일
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.
Star Strider
Star Strider 2020년 5월 18일
As always, my pleasure!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by