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?

 採用された回答

madhan ravi
madhan ravi 2020 年 6 月 16 日
編集済み: madhan ravi 2020 年 6 月 16 日

1 投票

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

3 件のコメント

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

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

製品

リリース

R2019a

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by