Clear Filters
Clear Filters

rhs method returning empty sym

2 views (last 30 days)
Sneha Srikanth
Sneha Srikanth on 16 Jun 2020
Commented: madhan ravi on 16 Jun 2020
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?

Accepted Answer

madhan ravi
madhan ravi on 16 Jun 2020
Edited: madhan ravi on 16 Jun 2020
Possible reason is that you may have created a variable/file named rhs , please clear it.
  3 Comments
John D'Errico
John D'Errico on 16 Jun 2020
Even a probable reason. :)

Sign in to comment.

More Answers (0)

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Tags

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!