syms variables being conjugated
조회 수: 3 (최근 30일)
이전 댓글 표시
I'm working on a homework assignment where I have to prove that the variable "T" cancels out in the final equation.
For some reason, the T is being conjugated and it won't cancel out in the final equation. Is there a way to prevent this?
clear all
close all
clc
d12 = 10;
d23 = 300;
d34 = 0;
d45 = 310;
d56 = 320;
d41 = 300;
d63 = 10;
d25 = 10;
A1 = 95000;
A2 = 95000;
Gref = 1;
syms T;
a11 = (A2/A1)*(d63+d25+d23+d56)+d23;
a12 = (A2/A1)*(d23)+(d34+d41+d12+d23);
a21 = 2*A1;
a22 = 2*A2;
A = [a11 a12; a21 a22];
b = [0 T]';
q = A\b;
q1 = q(1,1);
q2 = q(2,1);
dtdz_1 = (1/(2*A1*Gref))*(q1*d63+(q1-q2)*d23+q1*d25+q1*d56);
tor_1 = T/dtdz_1;
display(tor_1);
>>
tor_1 =
-(5607810198407703691264000*T)/(4475892091877764709*conj(T))
댓글 수: 0
채택된 답변
Walter Roberson
2020년 4월 20일
b = [0 T]'; requests conjugate transpose. plain transpose is .'
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!