clear all 
clc
a=arduino('com5','uno');  % x is your port number from above for PCs (no preceding zeros!)



t = 100;
while t > 1
h(t)  = readVoltage(a, 'A1')

t = t-1;
end





hold on ;
t=1:100;
plot(t,h)

