can matlab generate transfer function automatically??

Has matlab code any facility ,where transfer function is obtained directly . we have some code and i need to find transfer function for that.

2 件のコメント

Kaustubha Govind
Kaustubha Govind 2013 年 7 月 8 日
It looks like you need something like the System Identification toolbox, but that product is for Simulink models, not MATLAB code.
Milan
Milan 2013 年 7 月 9 日
Is this applicable for state flow

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

回答 (2 件)

Shashank Prasanna
Shashank Prasanna 2013 年 7 月 8 日

1 投票

MATLAB may not be able to read "bunch of code" to give you a transfer function but if you have input and output data from the system you are trying to model (maybe by executing the bunch of codes) you can use TFEST to estimate the transfer function:
If you have it in a simulink block then you can linearize it across the input and output port to obtain a state space model (and hence the tf) :
David Sanchez
David Sanchez 2013 年 7 月 4 日

0 投票

It all depends on your data.
Take a look at matlab's help:
help tf
or:
doc tf

7 件のコメント

Milan
Milan 2013 年 7 月 5 日
I dont have coefficient i have bunch of codes
Milan
Milan 2013 年 7 月 5 日
i have bunch of code and i need to find the transfer function for it
Rajiv Singh
Rajiv Singh 2013 年 7 月 8 日
編集済み: Rajiv Singh 2013 年 7 月 8 日
Hi Milan,
What do you mean by "bunch of code"? Is this referring to input/output measurements, or some representation of its frequency response? Or, does the code represent a system of equations?
Milan
Milan 2013 年 7 月 9 日
Bunch of code means code mean matlab script
Arkadiy Turevskiy
Arkadiy Turevskiy 2013 年 7 月 9 日
With answers like that you are not going to get much help. Can you paste your code here?
Milan
Milan 2013 年 7 月 11 日
code is of thousands of line , is there any command which calculate transfer function of electrical circuit which is bulid in PSIM
Arkadiy Turevskiy
Arkadiy Turevskiy 2013 年 7 月 11 日
編集済み: Arkadiy Turevskiy 2013 年 7 月 11 日
Is the circuit modeled in PSIM a linear system?
Here is what I would suggest:
In PSIM create a few input-output data sets, i.e., run different input signals (steps, random noise, chirp signals) through the model and record both input and output signals. Export that input-output data to MATLAB, and use System Identification Model to estimate a transfer function.
Check out the short videos on this page showing how to do this.

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

カテゴリ

ヘルプ センター および File ExchangeLinear Model Identification についてさらに検索

質問済み:

2013 年 7 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by