Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %% ΑΘΑΝΑΣΙΟΣ ΤΣΟΥΝΑΚΗΣ 1072771
- %
- data = csvread('tek00010.csv')
- time = data(:,1)
- samples = data(:,2);
- pl(time, samples, 'High impulse voltage as a function of time', 'Time (s)', 'Voltage (V)')
- function [] = pl(x, y, t, xl, yl)
- figure()
- hold on
- plot(x, y, '.', 'color', 'r', 'MarkerSize', 1)
- xlim([x(1),x(end)])
- title(t);
- ylabel(yl);
- xlabel(xl);
- legend('Oscilloscope voltage measurements', 'Location', 'Southeast')
- grid on
- end
Add Comment
Please, Sign In to add comment