taufred
Tau Fredholm evaluation.
Syntax
[v, f] = taufred(step, x, fun, Kxt)
Description
Evaluates the Fredholm integral term from an approximated function.
Input
step = evaluation step (double).
x = independent tau variable (itau object).
fun = function f(x) (char or double vector).
Kxt = function F(x,t) (char).
Output
v = v(x).
f = coefficients for the approximation int_a^b(fun(t)*K(x, t))dt.
Examples
x = itau('LegendreP', [0 1], 5);
[v, f] = taufred(0.1, x, ''x^2-3*x+1'', 'cos(x+t)'); or:
x = itau('LegendreP', [0 1], 5);
[v, f] = taufred(0.1, x, [-1/6 -1 1/6]', 'cos(x+t)');
In the first example the function is
interpolated by orthogonal basis whereas in the second the coefficients
are already provided.
See also
tauvolt, tauint, taudiff.
Evaluates the Fredholm integral term from an approximated function.
Input
step = evaluation step (double).
x = independent tau variable (itau object).
fun = function f(x) (char or double vector).
Kxt = function F(x,t) (char).
Output
v = v(x).
f = coefficients for the approximation int_a^b(fun(t)*K(x, t))dt.
Examples
x = itau('LegendreP', [0 1], 5);
[v, f] = taufred(0.1, x, ''x^2-3*x+1'', 'cos(x+t)'); or:
x = itau('LegendreP', [0 1], 5);
[v, f] = taufred(0.1, x, [-1/6 -1 1/6]', 'cos(x+t)');
In the first example the function is
interpolated by orthogonal basis whereas in the second the coefficients
are already provided.
See also
tauvolt, tauint, taudiff.
v = v(x). f = coefficients for the approximation int_a^b(fun(t)*K(x, t))dt.
Examples
x = itau('LegendreP', [0 1], 5);
[v, f] = taufred(0.1, x, ''x^2-3*x+1'', 'cos(x+t)'); or:
x = itau('LegendreP', [0 1], 5);
[v, f] = taufred(0.1, x, [-1/6 -1 1/6]', 'cos(x+t)');
In the first example the function is
interpolated by orthogonal basis whereas in the second the coefficients
are already provided.
See also
tauvolt, tauint, taudiff.
tauvolt, tauint, taudiff.