Nitin400

using convolution fn

Aug 3rd, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.13 KB | None | 0 0
  1. clear all
  2. close all
  3. clc
  4. x=[1 2 3]
  5. subplot(2,2,1)
  6. stem(x)
  7. h=[4 5 6]
  8. subplot(2,2,2)
  9. stem(h)
  10. y=conv(x,h)
  11. subplot(2,2,3)
  12. stem(y)
Add Comment
Please, Sign In to add comment