a problem with transpose of Symbolic matrix

18 Ansichten (letzte 30 Tage)
binbin cao
binbin cao am 14 Sep. 2021
Kommentiert: binbin cao am 14 Sep. 2021
this is my code
clc
clear all
syms mc m0 ms l h t dxita(t) xita(t) xita0 g n ii temp1 temp2
r0=[l/4*cosd(xita);l/4*sind(xita)];
dfr0=diff(r0,t);
ri=[0;ii*l*sind(xita)];
dfri=diff(ri,t);
j=1/12*mc*l^2;
tigz=1/2*j*dxita^2;
tigy=1/2*mc*(dfri'*dfri)
tigy(t) = 
tigy1=1/2*mc*(transpose(dfri)*dfri)
tigy1(t) = 
what's the meaning of the line on ii l ~, what's the differences of ' and transpose, are these two results the same,
thank you!

Akzeptierte Antwort

Chunru
Chunru am 14 Sep. 2021
The bar over the variable means complex conjugate. ' means complex conjugate transpose, while traspose or .' means transpose without conjugating.

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by