plot Landau cylinder and sphere
조회 수: 4 (최근 30일)
이전 댓글 표시
Hello everybody.
I'd like to plot the so-called Landau cylinder in Matlab with n number of internal cylinders, something like in the figure below.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/538201/image.jpeg)
Also, is it possible to slice the sphere in the same manner to vizualize the presence of sections.
I appreciate for the help.
댓글 수: 0
답변 (2개)
Bjorn Gustavsson
2021년 3월 4일
Just look at the help and documentation of cylinder - that will give you a "unit-cylinder" that you then can scale (both radius and height) to your desires, and then plot each cylinder using surf. For horizontal slices you'll just get a (sub-)set of circles but for a general slice you'll have to work out what parts of which ellipses will contribute.
HTH
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!