Problems using the equality indicator. Matlab returns 0 when I check the equality of 2 terms. At the same time it returns 1 for the ratio of the same terms.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
mu1 =
(k^psi*(b - 1)*(psi - 1))/(y2 + k^psi - b*k^psi - b*psi*y2)
>> mu2
mu2 =
-(psi - 1)/((y2*(b*psi - 1))/(k^psi*(b - 1)) + 1)
>> simplify(mu1)==simplify(mu2)
ans =
0
>> simplify(mu1/mu2)
ans =
1
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Calculus finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!