Extruding a 2D plot to 3D
Afficher commentaires plus anciens
Hello, i want to make the code extrude this curve over the range 0 to 10 units into the z-axis and i want the plot to show it in 3D
i=1;
for k=-5:0.1:5
y(i)=k^2;
x(i)=k;
i=i+1;
end
plot(x,y)

Réponse acceptée
Plus de réponses (1)
Tala
le 12 Avr 2022
0 votes
Take a look at this
https://www.mathworks.com/matlabcentral/answers/82917-extend-line-plot-to-a-surface
Catégories
En savoir plus sur Mathematics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
