Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clf; clear all;subplot(111);
- % dane wejsciowe
- T = 2;
- N=1000;
- krok_t=T/N;
- t=0:krok_t:T-krok_t;
- a=2;
- f=10;
- A=1;
- x=exp(-a*t);
- x1=A*sin(2*pi*f*t);
- plot(t,x1.*x); grid on
- xlabel('Czas [s]')
- ylabel('Sygnal 1')
- hold on
- plot(t,x,'--r');
- hold on
- plot(t,-x,'--r');
- hold on
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement