INTEGRATION IN MATLAB
Integration will solve two different type of problems in matlab they are;
Indefinite integral
It is reverse of differentiation operation in this derivative of the function is given and we have to find function.
Definite integral
It involve adding up a very large number of very small quantities and then taking a limit as the size of the quantities approaches zero, while the number of terms tend to infinity and it useful for finding area, volume, moment of inertia, center of gravity and work done.
Int command is used to find integration of given function
Let us consider an example
Syms x
expr = -2*x/ (1+x^2)^2;
y = int (expr)
Output is
y=
POLYNOMIALS:
Polyval command is used to execute the matrix polynomial. Let us consider an example, in order to evaluate our previous polynomial p, at x = 4, type:
p = [1 7 0 -5 9];
Polyval (p, 4)
ans = 693
TRANSFER FUNCTION:
In order to solve transfer function in matlab we use an fft, Laplace, fourier commands to execute matlab transfer function.
Laplace transform in time domain is represented as function f(t) is given by the following integral:
|f(t)|=
And also Laplace transform designed as a transform function of f(t) to F(s). We can see this converted transform or integration process f(t), as a function with a symbolic variable t, into another function F(s), with another variable s.