ltitr.m

来自「本书是电子通信类的本科、研究生辅助教材」· M 代码 · 共 23 行

M
23
字号
%
%LTITR	Linear time-invariant time response kernel.
%	X = LTITR(A,B,U) calculates the time response of the
%	system:
%		 x[n+1] = Ax[n] + Bu[n]
%
%	to input sequence U. Matrix U must have as many columns as
%	there are inputs, u. Each row of U corresponds to a new
%	time point. LTITR returns a matrix X with as many columns
%	as there are outputs y, and with LENGTH(U) rows.
%	LTITR(A,B,U,X0) can be used if initial conditions exist.
%	Here is what it implements, in high speed:
%
%		for i=1:n
%			x(:,i) = x0;
%    			x0 = a * x0 + b * u(:,i);
%		end
%		x = x.';

%	Copyright (c) 1986-93 by the MathWorks, Inc.

% built-in function

⌨️ 快捷键说明

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