Help in Plotting ECG .csv file
이전 댓글 표시
A=readtable('samples.csv');
figure;
x= A{:,1};
y= A{:,2};
plot(x,y);
xlim([2,21601]);
ylim([2,14761]);
댓글 수: 11
Stephan
2019년 2월 26일
What is the question?
madhan ravi
2019년 2월 26일
you forgot to upload your file
vandana sharma
2019년 2월 26일
madhan ravi
2019년 2월 26일
You have a file named plot.m which shadows the inbuilt function plot() please remove it or move it from from the working path.
vandana sharma
2019년 2월 26일
vandana sharma
2019년 2월 26일
madhan ravi
2019년 2월 26일
which plot -all % what shows up?
vandana sharma
2019년 2월 26일
madhan ravi
2019년 2월 26일
You have some problem with copying: see https://www.mathworks.com/matlabcentral/answers/447044-help-in-plotting-ecg-csv-file#comment_675210
Stephan
2019년 2월 26일
@Madhan: I tried using readtable and get the same error - if i use csvread it works - there is problably not a problem of a shadowed function
madhan ravi
2019년 2월 26일
편집: madhan ravi
2019년 2월 26일
So after testing it , turns out that all the numbers are read as char.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Applications에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!