Extract exponent of term in symbolic expression?
5 ビュー (過去 30 日間)
古いコメントを表示
Let's say I have some symbolic expression expression:
syms a b c d
expression=a^2*b^4*c^3*d
I want to extract the exponent of a given symbol. For example, if I ask for the exponent of a, it should give 2. I can't seem to find any solutions that work in the current version of Matlab. There must be some simple way of doing this in 2020 right?
Thanks in advance!
0 件のコメント
回答 (1 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!