Rotating a 2D line plot to obtain a surface

조회 수: 4 (최근 30일)
AYUSH SINGHAL
AYUSH SINGHAL 2020년 3월 14일
답변: Sahithi Kanumarlapudi 2020년 3월 17일
This is a 2D line plot which i want to rotate 360 degrees to obtain a bell shaped curve(the range of y-axis should be same as x axis(0-15)). Can somebody suggest a way to do this?
  댓글 수: 2
Ameer Hamza
Ameer Hamza 2020년 3월 14일
In which direction you want to rotate the line. Can you show us an example of the rotated line?
AYUSH SINGHAL
AYUSH SINGHAL 2020년 3월 14일
i want to rotate this line plot about origin by 360 degrees to obtain a surface.

댓글을 달려면 로그인하십시오.

답변 (1개)

Sahithi Kanumarlapudi
Sahithi Kanumarlapudi 2020년 3월 17일
Refering to functions 'rotate' and 'rotate3d' might probably help you.
For more information on these functions refer to the following links

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by