I am unable to use the function rhs to extract RHS of symbolic equations
Code written:
syms x; rhs(x==5)
This returns
[ empty sym ]
Is there something that I am missing here?

 Respuesta aceptada

madhan ravi
madhan ravi el 16 de Jun. de 2020
Editada: madhan ravi el 16 de Jun. de 2020

1 voto

Possible reason is that you may have created a variable/file named rhs , please clear it.

3 comentarios

Sneha Srikanth
Sneha Srikanth el 16 de Jun. de 2020
Yes I entered clearvars and it solved it. Thank you!
John D'Errico
John D'Errico el 16 de Jun. de 2020
Even a probable reason. :)
madhan ravi
madhan ravi el 16 de Jun. de 2020
:)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Symbolic Math Toolbox en Centro de ayuda y File Exchange.

Productos

Versión

R2019a

Etiquetas

Preguntada:

el 16 de Jun. de 2020

Comentada:

el 16 de Jun. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by