Professional Documents
Culture Documents
Operations
INTRODUCTION TO MATLAB
ECE120L
Derivative of a function
1
Example: What is the integral of 𝑦 = .
1+𝑥 2
Syntax: syms f x;
f=1/(1+x^2);
int(f)
Integral of Symbolic
Variables
int(f,x) indefinite integral of f with respect to its symbolic
variable x. The variable x is a symbolic scalar.
10
Example. Find the inverse Laplace of the function 𝐹 𝑠 = 3 .
𝑠
Syntax: syms f s;
f = 10/s^3;
ilaplace(f)
Fourier Transform of
Symbolic Variables
fourier(f) Evaluates the fourier transform of f with respect to
its symbolic variable x and returns a function of 𝜔.
fourier(f,v) returns a function of v instead of 𝜔.
fourier(f,u,v) Evaluates the fourier transform of f with respect to
its symbolic variable u (instead of x) and returns a
function of v instead of 𝜔.
2
Example: find the fourier transform of 𝑓 = 𝑒 .
−𝑥
Syntax: syms x
f = exp(-x^2)
fourier(f)
END