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!