u(t)=sinc(100t)and y(t)=cos(400πt) and x(t)=u(t)*y(t)
4 次查看(过去 30 天)
显示 更早的评论
u(t)=sinc(100t)and y(t)=cos(400πt) and x(t)=u(t)*y(t)
Now I need the code for plotting u(t) , |U(F)|, y(t), |Y(F)| , x(t) and |X(F)|
3 个评论
回答(1 个)
Walter Roberson
2022-9-10
syms t
u(t) = sinc(17*t)
fplot(u)
2 个评论
Walter Roberson
2022-9-11
It shows you how to construct functions, and it shows you how to plot functions. The only thing missing is the information that in MATLAB, π can be coded for symbolic use as
Pi = sym(pi);
and then refer to Pi .
Beyond that, there can be one or two additional steps depending whether each plot is to be in its own figure, or each plot is to be in its own axes (and if so should the 6 plots be 6 vertical, 6 horizontal, 3 vertical and 2 horizontal?) or if all of the plots should be on the same axes.
We are not here to answer people's homework questions: we are here to teach people how to use MATLAB.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subplots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!