<< pow2db FOSSEE Signal Processing Toolbox prony >>

FOSSEE Signal Processing Toolbox >> FOSSEE Signal Processing Toolbox > primitive

primitive

This function calculates the primitive of a given function supplied as input.

Calling Sequence

y = primitive(f, t)
y = primitive(f, t, x)

Parameters

f:

t:

Description

This is an Octave function. This function calculates the primitive of a given function supplied as input. The second parameter t is a vector at which the output is evaluated (at the points t). This vector should be ascending and ordered. The function approximates the primitive (indefinite integral) of the univariate function handle f with constant of integration x.

Examples

primitive([1,4,5],3,9)
ans  =
9.

Report an issue
<< pow2db FOSSEE Signal Processing Toolbox prony >>