Code to find transfer function of 1-e^(-2t)+sin(t)

I want to find the transfer function of this 1-e^(-2t)+sin(t) using matlab code. I tried a code like this, S
Sym t;
Y=1-exp(-2t)+sin(t);
Here it self i *got error* showing 't' undefined.

2 个评论

What have you tried (on what is obviously homework?) If nothing, why not? If you did try something, then show what you tried.

请先登录,再进行评论。

回答(1 个)

Hi Ganesh,
Please refer to the following link:
The tf function may be what you are looking for.
Hope this helps.

类别

在 帮助中心 和 File Exchange 中查找有关 Programming 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by