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?

 Akzeptierte Antwort

madhan ravi
madhan ravi am 16 Jun. 2020
Bearbeitet: madhan ravi am 16 Jun. 2020

1 Stimme

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

3 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte

Version

R2019a

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by