can i get rid of rectangular coordinates and get something like a blade shape image in matlab as shown in figure. If yes then please refer me to some example

1 回表示 (過去 30 日間)

回答 (3 件)

Bjorn Gustavsson
Bjorn Gustavsson 2014 年 1 月 21 日
yes. Use:
surf(X,Y,Z,C),shading flat.view(0,90)
Where you might set the Z-matrix to all zeros (or something else if you'd rather like that)
HTH
  4 件のコメント
Rizwana
Rizwana 2014 年 1 月 22 日
Sir: It is giving error saying dimensions of the matrix are not matching right after the 1st line i tried. XYZ = [R.*cos(ca),R.*sin(ca),cptot];
Bjorn Gustavsson
Bjorn Gustavsson 2014 年 1 月 22 日
You have to check that their sizes are the same, first check:
whos R ca cptot
then hopefully you'll only have to transpose R:
XYZ = [R.'.*cos(ca),R.'.*sin(ca),cptot];
HTH

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


Walter Roberson
Walter Roberson 2014 年 1 月 27 日
Have a look at "Obtaining Angular Directions in a Projection Space" in the document http://www.mathworks.com/help/map/accessing-computing-and-inverting-map-projection-data.html#f11-12738 . The graph shown there in 6. -- isn't that the same kind of graph that you need, except with a greater mapping angle? If so then you can use the setup shown in 1. but with different lat and lon limits.

Image Analyst
Image Analyst 2014 年 1 月 27 日
If it's just a rubber sheet stretch, then imtransform() can do 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