real time transfer function response

8 Ansichten (letzte 30 Tage)
YOUNSI Maher
YOUNSI Maher am 13 Mär. 2019
Bearbeitet: YOUNSI Maher am 15 Mär. 2019
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 Kommentare
Raj
Raj am 14 Mär. 2019
In what format do you have your real time variable input? Can you elaborate a bit?
YOUNSI Maher
YOUNSI Maher am 15 Mär. 2019
Bearbeitet: YOUNSI Maher am 15 Mär. 2019
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by