Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Fs = 1000;
- T = 1/Fs;
- L = 1000;
- t = (0:L-1);
- x1 = cos(2*pi*25*t);
- x2 = cos(2*pi*50*t);
- X = [x1; x2];
- for i = 1:2
- subplot(3,1,i)
- plot(t(1:100),X(i,1:100))
- title(['Row', num2str(i), 'in the time domain'])
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement