MATLAB: Plane y=x

MATLABplanema

Hei , I want to drow this planes y=x,z=x,z=y in 3D using fsurf but dont know fow to set the function?

Best Answer

% plane z=x,
figure
hold on
fsurf(@(x,y) x)
% plane z = y
fsurf(@(x,y) y)
view(3)