Azzera filtri
Azzera filtri

syms variables being conjugated

1 visualizzazione (ultimi 30 giorni)
raymond bryant
raymond bryant il 20 Apr 2020
Risposto: Walter Roberson il 20 Apr 2020
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))

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Symbolic Math Toolbox in Help Center e File Exchange

Prodotti


Release

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by