Time Domain Data or Correct Data Structure for System Identification Toolbox

조회 수: 2 (최근 30일)
Hi,
New to Matlab's system identification toolbox. I have a question regarding the data structure requirement in terms of time domain data.
.
The system requires that I have input and output data.
Please see attached screenshot...will something like this qualify as a correct time domain data for the system identification toolbox? where first column is time, second column is input and third column is output? I could also create an iddata using data = iddata(y,u,Ts). I want to be sure however that the data I will be importing to the workspace is in the correct format first.
Are there any other data format I can use? My data is in two parts, input and output (20 rows each), both of them sharing the same timestamps.
Any guidance on the appropriate representation of my data will be appreciate!
Thank you!

채택된 답변

Star Strider
Star Strider 2022년 10월 6일
The signals appear to be regularly sampled, so that should work. The iddata function is an appropriate starting point for time domain data.
I generally use ssest to identify systems because state space models are generally more robust (at least in my experience), although all the appropriate estimation options should work. I also always use the compare function to see how well the identified system matches the data.
  댓글 수: 4
Learning
Learning 2022년 10월 6일
Once again thank you! Last question: any idea how my input data should be if I have multiple inputs? Right now I have just one input and one output. If I have 2 inputs, should I put them in column 1&2 of the input matrix? And if I have 2 output? Any suggestions?
Thanks!
Star Strider
Star Strider 2022년 10월 6일
As always, my pleasure!
Yes to both. See the iddata documentation sections on u and y respectively.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Transform Data에 대해 자세히 알아보기

태그

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by