How do i get the Transfer function of sinh(s)/cosh(s) in matlab?
Show older comments
Hi,
I have a control problem. My plant is given as P(s)=sinh(s1)/cosh(s1) but i can`t apply this in matlab. This is my script:
s= tf('s');
c=100;
s1=s*(1/c);
P_wave=sinh(s1)/cosh(s1);
Written in exponentials:
P_wave_exp = (0.5*(exp(s1)-exp(-s1)))/(0.5*(exp(s1)+exp(-s1)));
And this is the warning i get:
Undefined function 'sinh' for input arguments of type 'tf'.
Can some one help me please?
Kind regards,
Robbin
Answers (1)
Azzi Abdelmalek
on 6 Jul 2013
Edited: Azzi Abdelmalek
on 6 Jul 2013
0 votes
Look at tf help. The numerator and denominator should be a polynomial of s, not sin or any different function
1 Comment
Robbin Mennings
on 9 Jul 2013
Categories
Find more on Programming 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!