What is the code to do a transfer function between input and output?

2 ビュー (過去 30 日間)
max
max 2013 年 8 月 7 日
I've got 2 vectors. I've to do the trasnsfer function between them. What is the code that I have to use?

回答 (2 件)

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 8 月 7 日
編集済み: Azzi Abdelmalek 2013 年 8 月 7 日
N=[1 2]
D=[1 3 4]
model=tf(N,D) % for continuous system
ts=0.1;
modeld=tf(N,D,ts)% for discrete system
  2 件のコメント
Azzi Abdelmalek
Azzi Abdelmalek 2013 年 8 月 7 日
[max commented]
Ok, I've wrong. I need the code inside the tf. I would like to kwnow how matlab calculate the transfer function.
Azzi Abdelmalek
Azzi Abdelmalek 2013 年 8 月 7 日
max, don't answer your question when you need to post a comment. Also you have 23 questions asked, none of them are accepted, sometimes you did not reply to the members answers neither their comments

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


Azzi Abdelmalek
Azzi Abdelmalek 2013 年 8 月 7 日
You can use this code
syms p
N=[1 2]
D=[1 3 4]
moel=sum(N.*p.^(numel(N)-1:-1:0))/sum(D.*p.^(numel(D)-1:-1:0))

カテゴリ

Help Center および File ExchangeFourier Analysis and Filtering についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by