MATLAB Noob question about using MATLAB

  • Thread starter mape
  • Start date
1
0
so, i have this little problem

can anyone tell me to put this transfer function in matlab?

T(s)=(s^4 + 2s^3 -13s^2 -38 -24)/(s(s^4 + 6s^3 -5s^2 -42s + 40))

i really new to matlab:cry:
 
167
0
If you want to use Matlabs transfer function capabilities (step(), etc.):

>> T = tf([1,2,-13,0,-38-24],[1,6,-5,-42,14,0])

this is for a contuninuous time transfer finction like the one you showed, it is slightly different for DT.

>> help tf
 

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving
Top