필터 지우기
필터 지우기

How to make state-space model for an array input in Simulink?

조회 수: 3 (최근 30일)
And Meng
And Meng 2021년 4월 4일
답변: And Meng 2021년 4월 5일
Hi,
I have a simple state-space function that is suitable for input data size of 1 (u1), as indicated in Fig.1. If my input is in form of an array (u1, u2, ... uN) I could use demux and more number of state-space blocks to acheive the same idea, as indicated in Fig.2. However, with known the size of input, how can I implement the same state-space to the input array without manually adjusting the number of state-space blocks? Matrix ABCD should be the same.
Fig 1: SISO
Fig 2: Array input manual adjust

답변 (2개)

Fangjun Jiang
Fangjun Jiang 2021년 4월 5일
You should not duplicate the State Space block. The size of A, B, C and D should all match properly to the number of states X, the number of input U and the number of output Y.

And Meng
And Meng 2021년 4월 5일
I think I found a way. Just simply consider them as systems in parallel and make larger ABCD martix with zeros.

카테고리

Help CenterFile Exchange에서 Event Functions에 대해 자세히 알아보기

제품


릴리스

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by