Ways to Prepare Data for System Identification
Before you can perform any task in this toolbox, your data must be in the MATLAB® workspace. You can import the data from external data files or manually create data arrays at the command line. For more information about importing data, see Representing Data in MATLAB Workspace.
The following tasks help to prepare your data for identifying models from data:
You can represent data in the format of this toolbox by doing one of the following:
For working in the app, import data into the System Identification app.
See Represent Data.
For time-domain or frequency-domain data, see Representing Time- and Frequency-Domain Data Using iddata Objects.
For frequency-response data, see Representing Frequency-Response Data Using idfrd Objects.
To simulate data with and without noise, see Generate Data Using Simulation.
You can analyze your data by doing either of the following:
Plotting data to examine both time- and frequency-domain behavior.
advicecommand to analyze the data for the presence of constant offsets and trends, delay, possible feedback, and signal excitation levels.
Review the data characteristics for any of the following features to determine if there is a need for preprocessing:
Missing or faulty values (also known as outliers). For example, you might see gaps that indicate missing data, values that do not fit with the rest of the data, or noninformative values.
Offsets and drifts in signal levels (low-frequency disturbances).
High-frequency disturbances above the frequency interval of interest for the system dynamics.
You can use data selection as a way to clean the data and exclude parts with noisy or missing information. You can also use data selection to create independent data sets for estimation and validation.
To learn more about selecting data, see Select Subsets of Data.
You can combine data from several experiments into a single data set. The model you estimate from a data set containing several experiments describes the average system that represents these experiments.
Vous avez cliqué sur un lien qui correspond à cette commande MATLAB :
Pour exécuter la commande, saisissez-la dans la fenêtre de commande de MATLAB. Les navigateurs web ne supportent pas les commandes MATLAB.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.