How to extract symbolic coefficients of a binomial?

16 views (last 30 days)
I have a binomial in the form of a(s,t)x+b(s,t), where s and t are symbolic variables; (e.g. (s^2+2s+st+1)x+(s^2*t+4s+2)). How can I extract the symbolic coefficient a(s,t) explicitly?

Answers (0)

Categories

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

Community Treasure Hunt

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

Start Hunting!