isequal return false. How to get logical 1 ?

1 visualización (últimos 30 días)
fc
fc el 25 de Abr. de 2021
Comentada: fc el 25 de Abr. de 2021
How to get logical 1 ?
I don't understand
syms g1 g2 gs
e=1/gs+1/(g1+g2)
f=(g1+g2+gs)/(gs*(g1+g2))
isequal(e,f)

Respuesta aceptada

Walter Roberson
Walter Roberson el 25 de Abr. de 2021
isAlways(e==f)

Más respuestas (0)

Categorías

Más información sobre Numbers and Precision en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by