フィルターのクリア

Specific if statement question

1 回表示 (過去 30 日間)
Emma Sellers
Emma Sellers 2019 年 10 月 23 日
回答済み: Star Strider 2019 年 10 月 23 日
I want to write an if statment that will determine if n2 is the first symbolic variable in this statement.. Is that possible??
UpEquation =
Thanks

採用された回答

Star Strider
Star Strider 2019 年 10 月 23 日
It is possible, although you may have to do a bit of coding to get that result. See Find Symbolic Variables in Expressions, Functions, Matrices for more information. It makes extensive use of the symvar function.
Note that logical operations on symbolic variables and expressions are not as straightforward as with numeric variables.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by