time=0:0.02/100:0.02;
Y1=abs(Unf(1))*sin(100*pi*time+angle(Unf(1)));
Y2=abs(Unf(2))*sin(100*pi*time+angle(Unf(2)));
Y3=abs(Unf(3))*sin(100*pi*time+angle(Unf(3)));
Y4=abs(Uz(1))*sin(100*pi*time+angle(Uz(1)));
Y5=abs(Uz(2))*sin(100*pi*time+angle(Uz(2)));
Y6=abs(Uz(3))*sin(100*pi*time+angle(Uz(3)));
Y7=abs(Upor(1))*sin(100*pi*time+angle(Upor(1)));
Y8=abs(Upor(2))*sin(100*pi*time+angle(Upor(2)));
Y9=abs(Upor(3))*sin(100*pi*time+angle(Upor(3)));

plot(time,Y1,'r-',time,Y2,'r-',time,Y3,'r-', ...
     time,Y4,'g-',time,Y5,'g-',time,Y6,'g-', ... 
     time,Y7,'b-',time,Y8,'b-',time,Y9,'b-');
title('Napeti Un, Uz a Upor');
xlabel('V poradi cervena, zelena, modra');
grid on;
