matrixC

Builds the matrix C, related with the system [C; D]a = b.


Syntax
   F = matrixC(y, conditions)

Description
   C = matrixC(y, cond, varargin) returns C matrix related with T = [C; D].
   In this case, the ode must be a single differential equation and the
   conditions can be in the format of linear combinations:
   sum(i = 0:n)biy^(i)(xi) = y0.

Inputs
   y    = dependent tau variable (dtau object).
   cond = conditions (cell of strings, double matrix or char).

Output
   C    = C matrix from T = [C; D].

Example
   cond = {'y''''(6)+423y(5) = -2';
           'y''''''(3)-2y(1)-9y(8) = 4';
           '3y(1)-2y''(-2) = -10'};
   y = dtau('ChebyshevT', [0 1], 5);
   C = matrixC(y, cond) returns:
   C =  [423        3807       68119     1223103    21975143]
        [-11        -137       -4043     -120905    -3621131]
        [  3          -1          83       -1185       15683]