English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

What coding do i use in MATLAB to obtain the symbolic fourier transforms for X(t)=exp(-t^2).

I new to MATLAB and i have no idea how to do this.

2007-03-12 07:20:40 · 2 answers · asked by Anonymous in Science & Mathematics Engineering

2 answers

syms makes symbolic variables, not the standard numerical double preceision data.

% example:
x1=3
syms x2

y1=2*x1
y2=2*x2

%end
returns y1 equals the constant 2 and y2 is the symbolic expression 2*x.

The symbolic functions that should affect you include:
fourier
ifourier
laplace
ilaplace

there are also "overloaded" functions. A normal function like "diff" returns the difference between adjacent elements in a vector. Its a poor-man's gradient. if you apply the diff function to a symbolic expression, it becomes a symbolic differentiation. int applied to symbolics becomes a symbolic integration.
help sym/diff
help sym/int

I hope that helps.

2007-03-13 08:45:16 · answer #1 · answered by Curly 6 · 0 0

syms t
fourier(exp(-t^2)
should return a the transfrom. probably a heavyside function.
you could always use the command
>> help fourier

2007-03-12 14:48:27 · answer #2 · answered by John 5 · 0 0

fedest.com, questions and answers