Import and view vectors

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.

回答(1 个)

Prabhakar
Prabhakar 2011-7-10

0 个投票

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.

类别

帮助中心File Exchange 中查找有关 Vector Fields 的更多信息

提问:

2011-7-9

Community Treasure Hunt

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

Start Hunting!

Translated by