replace initial matrix with a new one on Simulink
이전 댓글 표시
hi, I have this problem: I am making a simulink program for attitude determination, in the first step I use an initial matrix to calculate the rotation of my vector, after this I use the vector to calculate a new matrix, now I would like to repeat the same procedure but use the new matrix found to replace the initial one and so on for the following steps. how can I do?
답변 (1개)
Fangjun Jiang
2022년 11월 14일
0 개 추천
All you need is a "Product" block and a "Unit Delay" block. Use the "Unit Delay" block to get the value of s from previous step.
댓글 수: 7
And Cav
2022년 11월 14일
And Cav
2022년 11월 14일
Fangjun Jiang
2022년 11월 15일
Use the "From Workspace" block to import the pre-defined A value at any time. Read the Help document of the block. There is a particular format that you meed to construct.
And Cav
2022년 11월 15일
Fangjun Jiang
2022년 11월 15일
Look at this link or your local help document. There is an example for reading in 2-D matrix signal.
And Cav
2022년 11월 15일
And Cav
2022년 11월 16일
카테고리
도움말 센터 및 File Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!