摘要:
w = [0:1:500]*pi/500; X= exp(1i*w) ./ (exp(1i*w) - 0.5*ones(1,501)); %ones : Create array of all ones magX= abs(X); angX = angle(X); realX = real(X); imagX = imag(X); subplot(2,2,1); plot(w/pi, magX);grid xlabel('frequency in pi unit' ); title ('magnitude part'); ylabel('magnitud 阅读全文