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

2 views (last 30 days)
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 Comments
John D'Errico
John D'Errico on 6 Jun 2021
What have you tried (on what is obviously homework?) If nothing, why not? If you did try something, then show what you tried.

Sign in to comment.

Answers (1)

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

Categories

Find more on Desktop 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!