Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

constants frrom tf

Status
Not open for further replies.

jueves

Industrial
Apr 10, 2010
1
i have a transfer function for example like this
a=tf([1],[1 2])

i make a discrete fcn
b=c2d(a,0.1)

the answer is
x
-------
z-y

and now i need to put constants "x" and "y" into variables (for example "c" and "d") and use them in M-file

thanks for help
 
Replies continue below

Recommended for you

[num,den] = tfdata(b,'v') returns the coefficient vectors of the transfer function numerator and denominator.


xnuke
"Live and act within the limit of your knowledge and keep expanding it to the limit of your life." Ayn Rand, Atlas Shrugged.
Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor