Hello i am tryinfg to plot the abs of Y:
x=-400:400;
Y=1./(j*x+3);
(abs(Y))
title('Fourier's transform of h(t)=e^(-3t)*u(t)');
xlabel('-400 < x < 400 (rad/sec)')
ylabel('Fouriers Transform of h(t)')
plot(Y)
but i am taking all the time the following error message:
Invalid expression. Check for missing
multiplication operator, missing or unbalanced
delimiters, or other syntax error. To construct
matrices, use brackets instead of parentheses.
Please help!

 采纳的回答

madhan ravi
madhan ravi 2018-12-18
编辑:madhan ravi 2018-12-18
EDITED
clear all
x=-400:400;
Y=1./(j.*x+3);
y=(abs(Y));
plot(x,y)
xlabel('-400 < x < 400 (rad/sec)')
ylabel('Fouriers Transform of h(t)')
title('Fouriers transform of h(t)=e^{-3t}*u(t)')

6 个评论

Yeah that fix the problem but it still does not plot the whole thing. It just opens empty x and y labels
See edited answer
Still nothing ploted :(Screenshot_1.png
Try my edited answer one last time.
Yeah that worked at last! Thank you for your time!
Anytime :)

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 MATLAB 的更多信息

产品

版本

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by