I am completely new in Matlab and want to compute groebner basis of some polynomials.
I just wrote the following code in a new window in Matlab but it says gbasis is undefined!
syms x1 x2 x3 x4
p = [x1^2-x1, x2^2-x2, x3^2-x3, x4^2-x4,x1+x3-1, x2+x4-1,
x1*x2, x1*x1, x2*x2, x3*x4, x3*x3, x4*x4];
grobnerBasis = gbasis(p,'MonomialOrder','lexicographic')
What should I do?!