MISO System Identification Toolbox

35 次查看(过去 30 天)
Sefa Bugra Uncu
Sefa Bugra Uncu 2021-2-14
评论: Taher 2024-5-27
How can I add two input signals in the system identification toolbox for a system with two inputs and one output?

回答(1 个)

Khaled Aljanaideh
Khaled Aljanaideh 2022-7-22
编辑:Khaled Aljanaideh 2022-7-22
Hi Safa,
There are two ways to import MIMO or MISO data in the SYSID app:
  1. You can have the numeric input and output data saved in the workspace and import them to the app from there. For example, if you type the following in your commands window "u = randn(1000,3); y = randn(1000,1);", this corresponds to 3-inputs and 1-output data. Next, go to the app and click on the import data dropdown and select "Time domain data...", and a window will pop up, which is basically shown in the image in your question above. In this window, type u in the input editfield and y in the output editfield, set the data name, start time, sampling time, and click Import, then you will see that this MISO data has been imported in your Data Views in the app.
  2. The second way is to construct an iddata object in the command window. For example, if you type the following in your command window "u = randn(1000,3); y = randn(1000,1);", you can construct an iddata object using "data = iddata(y,u)" (you can set the iddata properties such as data name and sampling time as you wish, please see this documentation page). Next, go to the app and click on the import data dropdown and select "data object...", and a window will pop up. In this window, type "data" in the Object editfield, you can set the data name, start time, sampling time if you wish, and then click on "Import", then you will see that this MISO data has been imported in your Data Views in the app.
Please also see the answer by Christine Li to the question in this link for more details.
  1 个评论
Taher
Taher 2024-5-27
Thank you, just note you need to import both two inouts from processes>select channles then highlight both inputs so they can be active before using estimate.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Represent Data 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by