MISO System Identification Toolbox

39 views (last 30 days)
Sefa Bugra Uncu
Sefa Bugra Uncu on 14 Feb 2021
Commented: Taher on 27 May 2024
How can I add two input signals in the system identification toolbox for a system with two inputs and one output?

Answers (1)

Khaled Aljanaideh
Khaled Aljanaideh on 22 Jul 2022
Edited: Khaled Aljanaideh on 22 Jul 2022
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 Comment
Taher
Taher on 27 May 2024
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.

Sign in to comment.

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!