Error while trying to image fourier transform of a function?
Mostrar comentarios más antiguos
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!
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Discrete Fourier and Cosine Transforms en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!