qd0 Reference Frame symbolic transfer matrix

Version 1.0.0 (1,57 KB) von Hamed Najafi
symbolic calculation of transfer matrix for arbitrary reference frame
7 Downloads
Aktualisiert 26. Feb 2024

Lizenz anzeigen

I share the MATLAB code that I wrote for symbolic calculations of the arbitrary reference frame transfer matrix. I hope you find it useful:
The code below will generate the transfer matrix to the arbitrary reference frame (Ks) for you (2:Kraus coefficients/1:Concordia coefficients):
(As you know: 2:magnitude-invariant transformation , 1: power-invariant transformation)
Now for example to calculate the term Ks.p(Ks-1) you can simply write simplify( Ks*diff(inv(Ks))) in the Command Window and your answer will be:
ans(t) =
[ 0, diff(theta(t), t), 0]
[ -diff(theta(t), t), 0, 0]
[ 0, 0, 0]
and by ω=diff(theta(t), t) we will have:
ans(t) =
[ 0, ω, 0]
[ -ω, 0, 0]
[ 0, 0, 0]
Have a nice time!
Hamed Najafi

Zitieren als

Hamed Najafi (2024). qd0 Reference Frame symbolic transfer matrix (https://www.mathworks.com/matlabcentral/fileexchange/160208-qd0-reference-frame-symbolic-transfer-matrix), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2020a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0