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))

采纳的回答

Walter Roberson
Walter Roberson 2020-4-20
b = [0 T]'; requests conjugate transpose. plain transpose is .'

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by