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 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by