Azzera filtri
Azzera filtri

Matlab give wrong answer

3 visualizzazioni (ultimi 30 giorni)
mouh nyquist
mouh nyquist il 5 Feb 2019
Risposto: Fangjun Jiang il 5 Feb 2019
I have used this two equation who must give the same value but matlab give two different answer
Rs=1.150;
Rr=1.440;
Ls=0.156;
Lr=0.156;
Lm=0.143;
%*********************
A=1-(Lm^2/Lr*Ls)
B=1-((Lm^2)/(Lr*Ls))
%but 'A-b #0'

Risposta accettata

Fangjun Jiang
Fangjun Jiang il 5 Feb 2019
A and B are different. Note the order of operation
A=1-(Lm^2/Lr*Ls) is the same as A=1-((Lm^2)/Lr)*Ls

Più risposte (0)

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by