can matlab generate transfer function automatically??
5 次查看(过去 30 天)
显示 更早的评论
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
2013-7-8
It looks like you need something like the System Identification toolbox, but that product is for Simulink models, not MATLAB code.
回答(2 个)
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) :
0 个评论
David Sanchez
2013-7-4
It all depends on your data.
Take a look at matlab's help:
help tf
or:
doc tf
7 个评论
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Preparation Basics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!