Borrar filtros
Borrar filtros

Rolve function around axis to create 3D surface.

7 visualizaciones (últimos 30 días)
MLP
MLP el 30 de Jun. de 2020
Comentada: Star Strider el 1 de Jul. de 2020
Hello,
I am fairly new to matlab and know the basics. I am trying to create a 3D surface from the function y by revolving it around the x axis. The function is the profile of the tip of a bullet and I am looking to obtain a 3D plot. Thank you in advance!
x = linspace(0,1,100);
y = (2).*(x./12).^0.5;

Respuesta aceptada

Star Strider
Star Strider el 30 de Jun. de 2020
  4 comentarios
MLP
MLP el 1 de Jul. de 2020
hey thank you so much for taking the time to help me out, it works perfectly!
Star Strider
Star Strider el 1 de Jul. de 2020
As always, my pleasure!

Iniciar sesión para comentar.

Más respuestas (1)

Gurpreet Singh
Gurpreet Singh el 30 de Jun. de 2020
Hi Mateo,
It is my understanding that you are trying to create a 3D surface using a 2D plot by revolving it around the x axis.
The following links might help you.

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by