MISO System Identification Toolbox

조회 수: 36 (최근 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