Particle Filter block of SImulink is not accepting my 6*1 measurement matrix

2 ビュー (過去 30 日間)
UPASANA SARMA
UPASANA SARMA 2024 年 4 月 27 日
回答済み: Jaimin 2024 年 9 月 5 日
I am working on a system whose state sapce model is defined as follows:
x = A*x + B*u;
y = C*x;
where, x is state variable with dimension (15*1), y is the output variable with dimension (6*1) and u is the input variable with dimension (3*1). The dimensions of matrices A, B and C are (15*15), (15*3) and (6*15), respectively. I want to implement the Particle Filter block of MATLAB simulink for state estimation of this system. The simulink model of the Particle Filter is given below:
Fig 1
The Particle Filter configuration parameters are given below in Fig 2.
Fig 2.
When I run the simulation, it shows the following error:
Please help me debug the above problem.

回答 (1 件)

Jaimin
Jaimin 2024 年 9 月 5 日
The error message suggests an issue with the input size in a Simulink model. To fix this, please change the “Number of particles” parameter from 1000 to 1000000. The property that needs updating is highlighted in the image below.
For more information on “Particle Filter block” please refer this MathWorks Documentation.
I hope this will be helpful.

カテゴリ

Help Center および File ExchangeState-Space Control Design and Estimation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by