Main Content

Neural State-Space Models

Use neural networks to represent the functions defining the nonlinear state space realization of your system

Neural state-space models are a type of nonlinear state-space models where the state-transition and measurement functions are modeled using neural networks. You can identify the weights and biases of these networks using System Identification Toolbox™ software. You can use the trained model for control, estimation, optimization, and reduced order modeling.

Live Editor Tasks

Estimate Neural State-Space ModelEstimate neural state-space model in the Live Editor (Since R2023b)

Functions

createMLPNetworkCreate and initialize a Multi-Layer Perceptron (MLP) network to be used within a neural state-space system (Since R2022b)
setNetworkAssign dlnetwork object as the state or output function of a neural state-space model (Since R2024b)
nssTrainingOptionsCreate training options object for neural state-space systems (Since R2022b)
nlssestEstimate nonlinear state-space model using measured time-domain system data (Since R2022b)
generateMATLABFunctionGenerate MATLAB functions that evaluate the state and output functions, and their Jacobians, of a nonlinear grey-box or neural state-space model (Since R2022b)
idNeuralStateSpace/evaluateEvaluate a neural state-space system for a given set of state and input values and return state derivative (or next state) and output values (Since R2022b)
idNeuralStateSpace/linearizeLinearize a neural state-space model around an operating point (Since R2022b)
simSimulate response of identified model

Objects

idNeuralStateSpaceNeural state-space model with identifiable network weights (Since R2022b)
nssTrainingADAMAdam training options object for neural state-space systems (Since R2022b)
nssTrainingSGDMSGDM training options object for neural state-space systems (Since R2022b)
nssTrainingRMSPropRMSProp training options object for neural state-space systems (Since R2024b)
nssTrainingLBFGSL-BFGS training options object for neural state-space systems (Since R2024b)

Blocks

Neural State-Space ModelSimulate neural state-space model in Simulink (Since R2022b)

Topics