I defined a transfer function. s + 2 --------------- s^2 + 13 s + 30 then want to give 10 input using "rand" function , e.g [1.2 2.3 4 ....] collect the output data for each 10 input . then cross check the model with ident tool. I would like to know how to give input to the TF model and collect the out put data..

 채택된 답변

Sebastian Castro
Sebastian Castro 2015년 3월 15일
편집: Sebastian Castro 2015년 3월 15일

0 개 추천

You can use the lsim function to simulate the transfer function under some external inputs you specify.
EDIT: There is also a compare function in System Identification Toolbox if you want to compare the data with the identified system.
- Sebastian

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 System Identification Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by