Error while trying to image fourier transform of a function?
Show older comments
Hello the code is the following:
syms x
x=-400:400;
Y(x)=1./(j*x+3);
abs(Y(x))
I am trying to image abs of function Y(x) where Y(x) is Fourier's transform of function h(t)=e^(-3t)*u(t) for x=[-400,400].
Everytime i get the following error message: Error using sym/subsasgn (line 920)
Invalid indexing or function definition.
Indexing must follow MATLAB indexing. Function
arguments must be symbolic variables, and
function body must be sym expression.
Please help!
Accepted Answer
More Answers (0)
Categories
Find more on Discrete Fourier and Cosine Transforms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!