how can i convert 2d plot in to 3d surface ??
I have this small code that plots ogive shape nose in 2d.
I want to develop 3d surface from this code !!! please help and guide….
I am using surf command and tried to turn vector in to matrix….
L = 500;
R = 79;
n= 0.4;
x = 0:0.01:50;
y= R*(x/L).^n;
z= 1.*(x/L).^n;
plot(x,y,’r’,’linewidth’,2)
hold on
plot(x,-y,’r’,’linewidth’,2)
xlabel(‘Length’)
ylabel(‘Radius’)
title(‘Nose Profile’)
axis(‘equal’);I have this small code that plots ogive shape nose in 2d.
I want to develop 3d surface from this code !!! please help and guide….
I am using surf command and tried to turn vector in to matrix….
L = 500;
R = 79;
n= 0.4;
x = 0:0.01:50;
y= R*(x/L).^n;
z= 1.*(x/L).^n;
plot(x,y,’r’,’linewidth’,2)
hold on
plot(x,-y,’r’,’linewidth’,2)
xlabel(‘Length’)
ylabel(‘Radius’)
title(‘Nose Profile’)
axis(‘equal’); I have this small code that plots ogive shape nose in 2d.
I want to develop 3d surface from this code !!! please help and guide….
I am using surf command and tried to turn vector in to matrix….
L = 500;
R = 79;
n= 0.4;
x = 0:0.01:50;
y= R*(x/L).^n;
z= 1.*(x/L).^n;
plot(x,y,’r’,’linewidth’,2)
hold on
plot(x,-y,’r’,’linewidth’,2)
xlabel(‘Length’)
ylabel(‘Radius’)
title(‘Nose Profile’)
axis(‘equal’); surf, 2d, plotting, 3d plots MATLAB Answers — New Questions