MATLAB 与 WolframAlpha 和 AstromMurray 之间的差异(最小阶段)
信息处理
matlab
阶段
预兆
2022-02-22 08:32:33
1个回答
无论您在 Matlab 中做什么似乎都是错误的。
如果您正确编码,Matlab 获得正确的结果没有问题
%% Angle of a transfer function
s = 1i*logspace(-1,3,1000); % s-plane frequency vector
fx = ((100-s).^2)./((s+1).^2); % transfer function
% calculate and unwrap angle and plot it
semilogx(abs(s),unwrap(angle(fx)/pi*180));
grid('on');
xlabel('Frequency');
ylabel('Phase in degree');
其它你可能感兴趣的问题



