Effacer les filtres
Effacer les filtres

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

3 vues (au cours des 30 derniers jours)
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

Réponses (1)

KSSV
KSSV le 9 Avr 2019

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by