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

MATLab Problem

  1. May 4, 2005 #1
    This post is cross listed at the below url

    I'm attempting to use matlab to solve an electrical engineering problem dealing with controls...

    I'm trying to design a transfer function which will control a servo motor using what is often refered to as the Polynomial Equations Aproach.

    The aproach uses the Sylvester Matrix E to produce a controller for a transfer function.

    M = desired controller
    E = Sylvester Matrix
    D = Diophantine Value = a(z)A(z) + b(z)B(z)
    PLant Transfer function = B(z)
    a(z) and b(z) are unique polynomials which you multiply A(z) and B(z) by to get your desired state....

    To keep from getting everything congested, I'll not post the code here. It is at the link above. (is there a better way to display the code next time?)

    Basically, I've been over the matlab code so many times my eyes are bleeding and I still can't figure it out...if anyone could I take a look, I'd appreciate it...

    The plant transfer functin is controllable, but I didn't include those lines in the matlab code.

    Thank you.
  2. jcsd
  3. May 4, 2005 #2
    sorry, that's suppossed to be
    B(z)/A(z) = D

    darn formatting....
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook