Effacer les filtres
Effacer les filtres

MISO System Identification Toolbox

35 vues (au cours des 30 derniers jours)
Sefa Bugra Uncu
Sefa Bugra Uncu le 14 Fév 2021
Commenté : Taher le 27 Mai 2024
How can I add two input signals in the system identification toolbox for a system with two inputs and one output?

Réponses (1)

Khaled Aljanaideh
Khaled Aljanaideh le 22 Juil 2022
Modifié(e) : Khaled Aljanaideh le 22 Juil 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 commentaire
Taher
Taher le 27 Mai 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.

Connectez-vous pour commenter.

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by