Pseudo Inverse in Simulink during simulation

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?

Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 22 Apr. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by