Time Domain Data or Correct Data Structure for System Identification Toolbox

1 回表示 (過去 30 日間)
Learning
Learning 2022 年 10 月 6 日
コメント済み: Star Strider 2022 年 10 月 6 日
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 Center および File ExchangeData Preparation Basics についてさらに検索

タグ

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by