plotting sphere and rectangle mesh
9 ビュー (過去 30 日間)
古いコメントを表示
need help on plotting something like this :

any idea ?
0 件のコメント
採用された回答
Azzi Abdelmalek
2015 年 6 月 23 日
編集済み: Azzi Abdelmalek
2015 年 6 月 23 日
sphere(20)
axis square
You can get the coordinates x,y and z
[x,y,z]=sphere(20)
You can plot a sphere
surf(x,y,z)
4 件のコメント
Azzi Abdelmalek
2015 年 6 月 23 日
編集済み: Azzi Abdelmalek
2015 年 6 月 23 日
ii=-1:0.1:1
jj=-1:0.1:1
[ii1,jj1]=meshgrid(ii,jj)
surf(ii,jj,zeros(size(ii1)))
hold on
sphere(20)
その他の回答 (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!