freqs1.m

来自「用matlab中的m文件和Simulik实现rf的经典例子!」· M 代码 · 共 9 行

M
9
字号
% FREQS1  Function to find the frequency response of a filter at 1 frequency
% 
%    [H] = FREQS1 (B, A, W) calls FREQS and returns just the response of the frequency specified.
%       This is to make up for the morons who wrote FREQS without considering that someone may 
%       want the frequency response at only one point.

function [H] = freqs1 (B,A,W)
Htemp = freqs(B, A, [1 W]);
H = Htemp(2);

⌨️ 快捷键说明

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