can matlab generate transfer function automatically??

조회 수: 4 (최근 30일)
Milan
Milan 2013년 7월 4일
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일
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일
It all depends on your data.
Take a look at matlab's help:
help tf
or:
doc tf
  댓글 수: 7
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Data Preparation Basics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by