real time transfer function response

조회 수: 7 (최근 30일)
YOUNSI Maher
YOUNSI Maher 2019년 3월 13일
편집: YOUNSI Maher 2019년 3월 15일
Hi matlab community,
I want to get the real time simulation of a transfer function
s=tf('s');
H = 1/(s^2 + 2*s + 10);
ftbf = feedback(H,1);
step(ftbf);
Instead of using the step function , I have a real time variable input that I want to impliment to see the system respond.
any help will be appreciated
  댓글 수: 2
Raj
Raj 2019년 3월 14일
In what format do you have your real time variable input? Can you elaborate a bit?
YOUNSI Maher
YOUNSI Maher 2019년 3월 15일
편집: YOUNSI Maher 2019년 3월 15일
I have data received from TCP/IP socket
socket=tcpip(adresseIP,port,'NetworkRole','server');
I store the data received in a variable using fread or scan and I convert it to double
The data comes from a f/t sensor. and it is dynamically changing.

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

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by