![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/291306/image.png)
a raw ECG text file from Opensignals programm.
1 view (last 30 days)
Show older comments
Nabil Yassin
on 7 May 2020
Commented: Juan David Espinosa
on 22 Feb 2021
hello, i have a raw ECG text file from Opensignals programm. how can i plot this? any help? response will be appreciated.
0 Comments
Accepted Answer
Ameer Hamza
on 8 May 2020
Try this
% extract data
data = readmatrix('opensignals_98d391fd3f18_2020-05-07_16-43-17.txt', ...
'HeaderLines', 3, 'ExpectedNumVariables', 6);
% plot 6th column
plot(data(:,6))
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/291306/image.png)
1 Comment
Juan David Espinosa
on 22 Feb 2021
thx a lot, that help me a lot. but the graph is a little different if a compare with the OpenSignals graph, meybe i can plot only 100 samples ?
More Answers (0)
See Also
Categories
Find more on Audio I/O and Waveform Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!