Help in Plotting ECG .csv file
Mostra commenti meno recenti
A=readtable('samples.csv');
figure;
x= A{:,1};
y= A{:,2};
plot(x,y);
xlim([2,21601]);
ylim([2,14761]);
11 Commenti
Stephan
il 26 Feb 2019
What is the question?
madhan ravi
il 26 Feb 2019
you forgot to upload your file
vandana sharma
il 26 Feb 2019
madhan ravi
il 26 Feb 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
il 26 Feb 2019
vandana sharma
il 26 Feb 2019
madhan ravi
il 26 Feb 2019
which plot -all % what shows up?
vandana sharma
il 26 Feb 2019
madhan ravi
il 26 Feb 2019
You have some problem with copying: see https://www.mathworks.com/matlabcentral/answers/447044-help-in-plotting-ecg-csv-file#comment_675210
Stephan
il 26 Feb 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
il 26 Feb 2019
Modificato: madhan ravi
il 26 Feb 2019
So after testing it , turns out that all the numbers are read as char.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Applications in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!