MATLAB Answers

Exponential transfer function

42 ビュー (過去 30 日間)
Adam
Adam 2011 年 4 月 11 日
コメント済み: Meet Doshi 2017 年 10 月 10 日
Hi,
I'd like to know how to input a transfer function in Matlab and plot the Frequency response (magnitude and phase).
My First problem is actually inputting the transfer function into Matlab,
It's the transfer function of a first order hold which is: [(1 + sT) / T] x [(1 - e^-sT) / s] x [(1 - e^-sT) / s]
How would I input this into Matlab? I've tried to use the tf() function but haven't got it right so far! - mainly because I don't know how to write exponents in a transfer function and also how to have it dependant on time period, T.
So far I was using this format: num = [1 0]; den = [1 1]; sys = tf(num, den)
But this only works with transfer function with simple 's' terms.
Anyone have any idea?
Thanks!
  1 件のコメント
Meet  Doshi
Meet Doshi 2017 年 10 月 10 日
hd = exp(tf([-2 0],1))

サインインしてコメントする。

採用された回答

Paulo Silva
Paulo Silva 2011 年 4 月 11 日
編集済み: John Kelly 2015 年 2 月 26 日

その他の回答 (0 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by