This post is cross listed at the below url(adsbygoogle = window.adsbygoogle || []).push({});

https://www.physicsforums.com/showthread.php?t=73985

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)

where

PLant Transfer function = B(z)

------

A(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.

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# MATLab Problem

**Physics Forums | Science Articles, Homework Help, Discussion**