Filter löschen
Filter löschen

Rolve function around axis to create 3D surface.

7 Ansichten (letzte 30 Tage)
MLP
MLP am 30 Jun. 2020
Kommentiert: Star Strider am 1 Jul. 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;

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Gurpreet Singh
Gurpreet Singh am 30 Jun. 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.

Community Treasure Hunt

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

Start Hunting!

Translated by