Matlab 으로 DSP 실습시간에 만든것
무척 간단하다. % -------------------- 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..
2007.07.04