Help in Plotting ECG .csv file
Afficher commentaires plus anciens
A=readtable('samples.csv');
figure;
x= A{:,1};
y= A{:,2};
plot(x,y);
xlim([2,21601]);
ylim([2,14761]);
11 commentaires
Stephan
le 26 Fév 2019
What is the question?
madhan ravi
le 26 Fév 2019
you forgot to upload your file
vandana sharma
le 26 Fév 2019
madhan ravi
le 26 Fév 2019
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
le 26 Fév 2019
vandana sharma
le 26 Fév 2019
madhan ravi
le 26 Fév 2019
which plot -all % what shows up?
vandana sharma
le 26 Fév 2019
madhan ravi
le 26 Fév 2019
You have some problem with copying: see https://www.mathworks.com/matlabcentral/answers/447044-help-in-plotting-ecg-csv-file#comment_675210
Stephan
le 26 Fév 2019
@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
le 26 Fév 2019
Modifié(e) : madhan ravi
le 26 Fév 2019
So after testing it , turns out that all the numbers are read as char.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Applications dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!