You are on page 1of 4

‫مصطفى اياد الصمادي‪Name:‬‬

‫‪ID:132932‬‬
‫‪Power2 HW#2‬‬
Code:
t = linspace(0,5,10000);
delta = 16.79 + 10.234*exp(-1.3*t).*sin(6.0*t + 77.6966*pi/180);
f = 60 - 0.1746*exp(-1.3*t).*sin(6.0*t);

subplot(2,1,1);
plot(t, delta);
xlabel('time (s)');
ylabel('delta°');
title('Delta');

subplot(2,1,2);
plot(t, f);
xlabel('time (s)');
ylabel('f(HZ)');
title('f');

You might also like