- what are the sizes of your SS matrix A B C and D
How to use state-space block in simulink with one input
조회 수: 4 (최근 30일)
이전 댓글 표시
Hi I am using state-space block in simulink. I am having two inputs;so I have used a mux but state-space block is not accepting it because input becomes a row vector and I need a scalar value as an input to the state-space block. What should I do to make it a scalar value. Any guidance or help will be greatly appreciated.
댓글 수: 2
Azzi Abdelmalek
2012년 9월 1일
편집: Azzi Abdelmalek
2012년 9월 1일
Cheetamun Koshal
2016년 6월 25일
Actually the input should be in column vector form. Try to transpose the row vector. And also the size of the matrix A, B ,C and D are important so that the system works
채택된 답변
Azzi Abdelmalek
2012년 9월 1일
you have said that you have two inputs, then i can guess that the size of B is nx2, n is the order of your system. in this case, you can use a "Mux" block
댓글 수: 0
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 General Applications에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!