tauvolt
Tau Volterra evaluation.
Syntax
[v, f] = tauvolt(step, x, fun, Kxt)
Description
Evaluates the Volterra 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^x(fun(t)*K(x, t))dt.
Example
x = itau('LegendreP', [0 1], 5);
[v, f] = tauvolt(0.1, x, ''x^2-3*x+1'', 'cos(x+t)'); or:
x = itau('LegendreP', [0 1], 5);
[v, f] = tauvolt(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
taufred, tauint, taudiff.
Evaluates the Volterra 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^x(fun(t)*K(x, t))dt.
Example
x = itau('LegendreP', [0 1], 5);
[v, f] = tauvolt(0.1, x, ''x^2-3*x+1'', 'cos(x+t)'); or:
x = itau('LegendreP', [0 1], 5);
[v, f] = tauvolt(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
taufred, tauint, taudiff.
v = v(x). f = coefficients for the approximation int_a^x(fun(t)*K(x, t))dt.
Example
x = itau('LegendreP', [0 1], 5);
[v, f] = tauvolt(0.1, x, ''x^2-3*x+1'', 'cos(x+t)'); or:
x = itau('LegendreP', [0 1], 5);
[v, f] = tauvolt(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
taufred, tauint, taudiff.
taufred, tauint, taudiff.