how to insert data into matlab

11 Ansichten (letzte 30 Tage)
mado
mado am 14 Aug. 2022
Beantwortet: Star Strider am 14 Aug. 2022
I have input/output data in excel sheet and i want to insert it into identification toolbox. How to do that?

Antworten (1)

Star Strider
Star Strider am 14 Aug. 2022
With R2015a use the xlsread function to import the data. Get all of the outputs in case there is column header information that you need to know in order to use the data correctly. That will pe present in the second and third outputs. Ideally, you should also have a time vector or at least a sampling frequency as well as the input/output data.
Then, depending on the information you have, use the iddata function (or idfrd, whatever is appropriate to your data) and go from there. I use the ssest function to define the system, since it is the most robust (at lelast in my experience).
I know nothing about your data, so explore the documentation to determine how best to characterise and identify your system.

Kategorien

Mehr zu Linear Model Identification finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by