Problem with using subs() for products of symbolic variables
显示 更早的评论
I have a question regarding the use of the subs function in the symbolic toolbox. It seems to have trouble with products of symbolic variables. For example, I would expect
>> subs(3*a*b+b,a*b,0) to produce b
Instead, it produces: b + 3*a*b
Can this be remedied?
采纳的回答
更多回答(1 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!