⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 phasepw.m

📁 里面囊括了基于matlab滤波器设计的各种.m文件
💻 M
字号:
 
% PHASEPW(B,A,color)
%
% This function is used to plot the phase response of filter
% or signal. The Y-axis is phase (radians); X-axis is normalized
% freqency from 0 to 1. The color will be the one specified
% in argument. If there is no color specification, the color
% will be white. Also see PHPLOT


function F = phasepw(B,A,c)

 if nargin == 2
  c = 'w';
 end

 [F,W]=freqz(B,A,1000,'whole');
 W=linspace(0,1,1000);
 F = angle(F);
 plot(W,F,c)

 xlabel('Normalized Frequency');
 ylabel('Phase (Radians)');

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -