Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n = -1:2
- x = [2 5 6 8]
- [xe,xo] = sigfold(x)
- subplot(2,1,1)
- stem(n,xe)
- subplot(2,1,2)
- stem(n,xo)
- function [xe,xo] = sigfold(x)
- xf = fliplr(x)
- xe = 1/2*(x + xf)
- xo = 1/2*(x - xf)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement