MATLAB Answers

a problem with transpose of Symbolic matrix

조회 수: 3(최근 30일)
binbin cao
binbin cao 2021년 9월 14일
댓글: binbin cao 2021년 9월 14일
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!

채택된 답변

Chunru
Chunru 2021년 9월 14일
The bar over the variable means complex conjugate. ' means complex conjugate transpose, while traspose or .' means transpose without conjugating.
  댓글 수: 1
binbin cao
binbin cao 2021년 9월 14일
got it, thank you!

댓글을 달려면 로그인하십시오.

추가 답변(0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by