- #1
adnan jahan
- 96
- 0
Dear Friends
I have made 2D plot in MATLAB and want to convert it in 3D can you give me any suggestions please.
if
s=x^2+y^3
x=linspace(0,2);
plot(y,s,'b')
this gives the plot of 2D
I want to make it in 3D for any value of z axis(-1 to 1)
what changes i have to do ?
I have made 2D plot in MATLAB and want to convert it in 3D can you give me any suggestions please.
if
s=x^2+y^3
x=linspace(0,2);
plot(y,s,'b')
this gives the plot of 2D
I want to make it in 3D for any value of z axis(-1 to 1)
what changes i have to do ?