matrixCsys
Builds the matrix C, related with the system [C; D]a = b.
Syntax
F = matrixCsys(y, conditions)
Description
C = matrixCsys(y, cond, varargin) returns C matrix related with
T = [C; D]. In this case, the ode must be a system of differential
equations and the conditions must be simple.
Inputs
y = dependent tau variable (dtau object).
conditions = conditions (double matrix).
Output
C = C matrix from T = [C; D].
Example
% If y1(4) = 1; y2'(3) = 2; y3''(2) = 3; y4'''(1) = 4, then:
cond = [0 1 2 3;4 3 2 1;1 2 3 4];
y = dtau('ChebyshevT', [0 1], 5);
C = matrixCsys(y, cond).
C = matrixCsys(y, cond, varargin) returns C matrix related with T = [C; D]. In this case, the ode must be a system of differential equations and the conditions must be simple.
Inputs
y = dependent tau variable (dtau object).
conditions = conditions (double matrix).
Output
C = C matrix from T = [C; D].
Example
% If y1(4) = 1; y2'(3) = 2; y3''(2) = 3; y4'''(1) = 4, then:
cond = [0 1 2 3;4 3 2 1;1 2 3 4];
y = dtau('ChebyshevT', [0 1], 5);
C = matrixCsys(y, cond).
C = C matrix from T = [C; D].