Transfer function G(s) with plot or data

조회 수: 6 (최근 30일)
Marek Kryger
Marek Kryger 2019년 12월 20일
답변: krishna teja 2019년 12월 23일
Hi
I have data and a graph from this data.
How to do transfer function G (s) from a chart or data?
Somebody knows?

답변 (1개)

krishna teja
krishna teja 2019년 12월 23일
hi
you could use
np = 2; % number of poles
nz = 1; % number of zeros
exp_data = readmatrix('data.csv'); %read data
u = exp_data(:,1); % input data
y = exp_data(:,2); % output data
Ts = 0.01; % sampling time in seconds
data = iddata(y,u,Ts);
sys = tfest(data,np,nz)
in MATLAB for estimating transfer function from data
more details can be found here

카테고리

Help CenterFile Exchange에서 Transfer Function Models에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by