I am trying to plot the following:
z=-4x+(x^2)-4y-(y^2) over [x,y]=(0:5,0:5)
Thats how I am trying to do it:
[x,y]=meshgrid(0:5,0:5);
z=-4x+(x^2)-4y-(y^2);
When I am trying to define z I get an "unexpected expression" error. Help please.
I am trying to plot the following:
z=-4x+(x^2)-4y-(y^2) over [x,y]=(0:5,0:5)
Thats how I am trying to do it:
[x,y]=meshgrid(0:5,0:5);
z=-4x+(x^2)-4y-(y^2);
When I am trying to define z I get an "unexpected expression" error. Help please.