Matlab DSP 실습시간 자료
메이커활동/즐거운공작
2007. 11. 17. 18:22
무척 간단하다. % -------------------- M File Start -------------------- % Impulse Function % n0, n1, n2 function [x,n] = impseq(n0,n1,n2) n = [n1:n2]; x = [(n-n0) == 0]; % -------------------- M File End -------------------- % -------------------- M File Start -------------------- % Step FUnction % n0, n1, n2 % n(from n1 to n2), compare with n0 % if n0 function [x,n] = stepseq(n0,n1,n2) n = [n1:n2]; x..