Read Time from the column of CSV file for plotting purpose

2 views (last 30 days)
Hello
Please find the attached csv, here column 1 shows the time and column 2 shows spo2 data recorded at that point of time. I am trying to read this csv file and plot this with
column 1 (time data) as x-axis and column 2 (spo2 data) as y-axis.
Please suggest me appropriate code for the execution.

Accepted Answer

Mohammad Sami
Mohammad Sami on 1 Feb 2020
readtable should work just fine with your data.
a = readtable('Moxy.csv');
plot(a.hh_mm_ss,a.SmO2Live)

More Answers (0)

Categories

Find more on Data Import and Analysis in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!