replace initial matrix with a new one on Simulink
Afficher commentaires plus anciens
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 commentaire
And Cav
le 13 Nov 2022
Réponses (1)
Fangjun Jiang
le 14 Nov 2022
0 votes
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 commentaires
And Cav
le 14 Nov 2022
And Cav
le 14 Nov 2022
Fangjun Jiang
le 15 Nov 2022
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
le 15 Nov 2022
Fangjun Jiang
le 15 Nov 2022
Look at this link or your local help document. There is an example for reading in 2-D matrix signal.
And Cav
le 15 Nov 2022
And Cav
le 16 Nov 2022
Catégories
En savoir plus sur Programmatic Model Editing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!