Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Noob question about using MATLAB

  1. Apr 5, 2010 #1
    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:
     
  2. jcsd
  3. May 8, 2010 #2
    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
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook




Loading...
Similar Threads for Noob question using Date
Mathematica Question about updating functions Oct 23, 2017
Maple Maple question: defining functions as inverse Fourier transforms Jun 21, 2016
Matlab, iteration with newton's method, noobs & errors Apr 2, 2008
Matlab noob question. Mar 30, 2008
Matlab help a noob Jan 25, 2006