hello, i have a raw ECG text file. how can i plot this? any help? response will be appreciated.
66 views (last 30 days)
Show older comments
here is the attached text file.
2 Comments
Image Analyst
on 28 Nov 2021
Edited: Image Analyst
on 28 Nov 2021
@Abdullah Alqadi, just right click and select "Save link as..."
Accepted Answer
Image Analyst
on 11 Aug 2018
Try this:
data = importdata('106_5.txt')
x = data(:, 1);
y = data(:, 2);
plot(x, y, 'b-', 'LineWidth', 2);
title('ECG Signal', 'FontSize', 20);
xlabel('Time', 'FontSize', 20);
ylabel('Voltage', 'FontSize', 20);
grid on;
% Enlarge figure to full screen.
set(gcf, 'Units', 'Normalized', 'OuterPosition', [0, 0.04, 1, 0.96]);
3 Comments
Image Analyst
on 11 Aug 2018
You can click on the magnifying glass toolbar icon, or simply plot less data than the full hundred thousand points.
More Answers (0)
See Also
Categories
Find more on Measurements and Feature Extraction 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!