Borrar filtros
Borrar filtros

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

3 visualizaciones (últimos 30 días)
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

Respuestas (1)

KSSV
KSSV el 9 de Abr. de 2019

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by