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 Comments

What have you tried (on what is obviously homework?) If nothing, why not? If you did try something, then show what you tried.
Hey pls see my description now.

Sign in to comment.

Answers (1)

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 Mathematics 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!