3D matrix from 3D scatter points
Mostrar comentarios más antiguos
Hi everyone,
I have tracked moving particles in a 3D space by storing their spatial coordinates positions in vectors. I.e. for a given time I have:
particle_x; particle_y; patricle_z;
specifying the x,y and z coordinates of each tracked particle/point. I can easily visualize these using scatter3 in Matlab, but from this, I would like to make 2D cuts and visualize the spread of points coinciding with certain planes. My idea was to create a 3D matrix of the whole 3D space and simply fill in a value ('1') where a particle is identified. However, I'm not really sure how to do this in a good way...
Since scatter3 can visualize the points in 3D, there has to be some sort of 3D matrix saved in the background, or? Or does anyone have a good idea of how I could do this? Any advice would be very much appreciated.
Thanks
/David
Respuesta aceptada
Más respuestas (1)
the cyclist
el 17 de Mzo. de 2015
0 votos
This old post from the forums seems like it might help you.
2 comentarios
David
el 17 de Mzo. de 2015
the cyclist
el 17 de Mzo. de 2015
Sorry. I misread your intent.
Categorías
Más información sobre Programming en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!