## fred

Fredholm integral for dtau object.

Fredholm integral for dtau object.

F = fred(varargin)

F = fred(y, K) returns the matrix F that translates the Fredholm integral term int_a^b(K(x, t)y(t)dt) into an orthogonal polynomial basis.

y = dependent tau variable (dtau object). K = two variable function K(x, t) (char or numeirc matrix). If K is char, then the coefficients will be automatically found. If K is numeric column, then is related with coeff a of aP(x). If K is numeric row, then is related with coeff a of aP(t). If K is double matrix, then is related with coeff a of aP(x)P(t).

F = matrix sized by [y.n y.n] in an orthogonal polynomial basis.

y = dtau('TchebyshevU', [1 2], 5); F = fred(y, 'cos(x+t)'); % F is the matrix that translates % int_1^2(cos(x+t)y(t)dt) into % the specified orthogonal basis.

volt, diff and int.