How can I plot a "deformed cylinder" in matlab from a matrix of distances?

1 回表示 (過去 30 日間)
Samuel White
Samuel White 2017 年 4 月 6 日
コメント済み: Star Strider 2017 年 4 月 6 日
I would like to surface plot a matrix of distances, such that the numbers in each column represent a vertical strip of a cylinder and each column is a set angle from the previous column. The general shape I would like to surface plot is a deformed cylinder. Many thanks, Sam.

回答 (1 件)

Star Strider
Star Strider 2017 年 4 月 6 日
See the documentation for the cylinder function. I’m not certain if you can do what you want using it, but you may be able to get an idea as to plotting it. (I’ve used it to produce a 3D airfoil plot with varying cross-sections, so you can do a lot with the approach in the cylinder function.)
  2 件のコメント
Samuel White
Samuel White 2017 年 4 月 6 日
Thanks Star Strider, I will look into that. :)

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by