フィルターのクリア

how to map an point of a grid onto the nearest point of that point on another grid

3 ビュー (過去 30 日間)
VANDANA GUPTA
VANDANA GUPTA 2019 年 4 月 8 日
コメント済み: VANDANA GUPTA 2019 年 4 月 9 日
theta=-pi/6:pi/180:pi/6;
phi=-pi/6:pi/180:pi/6;
[theta,phi]=meshgrid(theta,phi);
for rho=5:.025:50
[x,y,z]=sph2cart(theta,phi,rho);
xs=min(x(:)):0.03:max(x(:))+1;
ys=min(y(:)):0.15:max(y(:))+1;
zs=min(z(:)):0.15:max(z(:))+1;
end
I want to map the any point of (x,y,z) grid onto the nearest point in (xs,ys,zs) grid

回答 (1 件)

KSSV
KSSV 2019 年 4 月 9 日

カテゴリ

Help Center および File ExchangeStatistics and Machine Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by