ltifr.m
来自「数字通信第四版原书的例程」· M 代码 · 共 23 行
M
23 行
%
%LTIFR Linear time-invariant frequency response kernel.
% G = LTIFR(A,b,S) calculates the frequency response of the
% system:
% G(s) = (sI - A)\b
%
% for the complex frequencies in vector S. Column vector b
% must have as many rows as matrix A. Matrix G is returned
% with SIZE(A) rows and LENGTH(S) columns.
% Here is what it implements, in high speed:
%
% function g = ltifr(a,b,s)
% ns = length(s); na = length(a);
% e = eye(na); g = sqrt(-1) * ones(na,ns);
% for i=1:ns
% g(:,i) = (s(i)*e-a)\b;
% end
%
% Copyright (c) 1986-93 by the MathWorks, Inc.
% built-in function
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?