Matlab 展开和化简多项式


syms x
y = x^2+2*x+1
simplify(y)

syms x
y = (x+1)^2+(x-3)^3+(2*x-1/2)^2
expand(y)

绘制函数图像:

如果想标注相交点可以:

相关