Import and view vectors

1 vue (au cours des 30 derniers jours)
Johnny
Johnny le 9 Juil 2011
I have a list of vectors, almost 8000. The file contains the x,y,z position, velocity magnitude, and Direction. I am trying to create a 3d model of these points. Is there a way to import these into matlab for visualization purposes? Thank you for all your help.

Réponses (1)

Prabhakar
Prabhakar le 10 Juil 2011
1) Choose from the TEXTSCAN, IMPORTDATA functions to read in the data from the txt file into MATLAB,
2) use the QUIVER/ QUIVER3 function to visualize the vectors, their direction and magnitude.

Catégories

En savoir plus sur Data Import and Analysis 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