I need to plot a 3D surface from a known equation. Z= (1-p)/(X-Y). I want to vary X,Y and p continuously eg X = [0.*.100] I am getting an error to the effect that matrix sizes don't match while trying to use the surf function.Any help/ ideas?
MATLAB: 3D surfaces from known equation
3d surface;graphs
Best Answer