Pseudo Inverse in Simulink during simulation

2 次查看(过去 30 天)
Good day,
Currently I have the following situation:
So every time step there are three output variables: deltatheta, deltaqdot and deltau (all scalars). Now the following relationship holds:
deltaqdot = A*deltatheta + B*deltau
This means after three time steps I am theoretically able to calculate A and B using the inverse. However, I want to take more measurements into account, for example the last 10. This means I somehow have to store the results and then calculate the pseudo inverse every time step (or at least, starting when 10 time steps passed by from the beginning).
I know there is a pseudo inverse block in Simulink, but I don't know how I can apply this block to measurements of the last 10 time steps for instance.
Any ideas?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by