rhs method returning empty sym

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?

 Risposta accettata

madhan ravi
madhan ravi il 16 Giu 2020
Modificato: madhan ravi il 16 Giu 2020

1 voto

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

3 Commenti

Yes I entered clearvars and it solved it. Thank you!
Even a probable reason. :)
:)

Accedi per commentare.

Più risposte (0)

Categorie

Prodotti

Release

R2019a

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by