主要内容

时间序列分析

通过识别线性和非线性模型(如 AR、ARMA、状态空间和灰盒模型)、执行频谱分析和预测模型输出来分析时间序列数据

时间序列是包含一个或多个测量输出通道但不包含测量输入的数据。时间序列模型,也称为信号模型,是一种被辨识为拟合给定信号或时间序列数据的动态系统。时间序列可以是多元的,这导致了多元模型的产生。您可以在系统辨识或命令行中辨识时间序列模型。System Identification Toolbox™ 可用于创建和估计四种一般类型的时间序列模型。

  • 线性参数化模型 - 估计自回归模型和状态空间模型等结构中的参数。

  • 频率响应模型 - 使用频谱分析估计频谱模型。

  • 非线性 ARX 模型 - 估计非线性 ARX 结构中的参数。

  • 灰盒模型 - 估计表示系统动态特性的常微分方程或差分方程的系数。

参数化时间序列模型辨识需要均匀采样的时域数据,但 ARX 模型除外,该模型可以处理频域信号。频谱分析算法支持时域和频域数据。您的数据可以有一个或多个输出通道,但不能有输入通道。有关时间序列模型的详细信息,请参阅What Are Time Series Models?

您可以使用辨识模型在命令行、App 或 Simulink® 中预测模型输出。在命令行中,您还可以预测超出测量数据时间范围的模型输出。

函数

全部展开

ar辨识标量时间序列的 AR 模型或 ARI 模型时估计参数
arOptionsOption set for ar
arx估计 ARX、ARIX、AR 或 ARI 模型的参数
armax使用时域数据估计 ARMAX、ARIMAX、ARMA 或 ARIMA 模型的参数
ivarAR model estimation using instrumental variable method
ssestEstimate state-space model using time-domain or frequency-domain data
n4sid使用时域或频域数据子空间方法估计状态空间模型
spaEstimate frequency response with fixed frequency resolution using spectral analysis
spafdrEstimate frequency response and spectrum using spectral analysis with frequency-dependent resolution
etfeEstimate empirical transfer functions and periodograms
nlarxEstimate parameters of nonlinear ARX model
greyestEstimate ODE parameters of linear grey-box model
nlgreyestEstimate nonlinear grey-box model parameters
idpolyPolynomial model with identifiable parameters
idssState-space model with identifiable parameters
idfrdFrequency response data or model
idnlarxNonlinear ARX model
idgreyLinear ODE (grey-box model) with identifiable parameters
idnlgreyNonlinear grey-box model
spectrum绘制或返回时间序列模型的输出功率谱或线性输入/输出模型的扰动谱
forecastForecast time-series values into future
predict预测辨识模型的 K 步输出

主题

关于时间序列模型

估计模型

预测模型输出

精选示例