MATLAB Noob question about using MATLAB

  • Thread starter Thread starter mape
  • Start date Start date
  • Tags Tags
    Matlab Noob
AI Thread Summary
To implement the given transfer function T(s) in MATLAB, the correct syntax for creating a continuous-time transfer function using MATLAB's `tf` function is provided. The transfer function is defined as T(s) = (s^4 + 2s^3 - 13s^2 - 38s - 24) / (s(s^4 + 6s^3 - 5s^2 - 42s + 40)). The MATLAB command to create this transfer function is T = tf([1, 2, -13, 0, -38-24], [1, 6, -5, -42, 14, 0]). Additionally, users are encouraged to refer to MATLAB's help documentation for more information on the `tf` function and its applications.
mape
Messages
1
Reaction score
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:
 
Physics news on Phys.org
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
 

Similar threads

Replies
2
Views
3K
Replies
8
Views
3K
Replies
9
Views
2K
Replies
4
Views
4K
Replies
2
Views
2K
Replies
5
Views
3K
Replies
2
Views
4K
Back
Top