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?

 Réponse acceptée

madhan ravi
madhan ravi le 16 Juin 2020
Modifié(e) : madhan ravi le 16 Juin 2020

1 vote

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

3 commentaires

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Symbolic Math Toolbox dans Centre d'aide et File Exchange

Produits

Version

R2019a

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by