Import Coordinates from text file to workspace and then plot

1 vue (au cours des 30 derniers jours)
Himanshu Tomar
Himanshu Tomar le 30 Jan 2016
I have a text file which has coordinates in the form of ; x1 y1 z1 x2 y2 z2 x3 y3 z3 and so on , so how can I import this data to workspace in individual variable for example variable Coordinate1 in workspace will have 1-D array of coordinates [x1 ,y1 ] only not z-coordinate and similarly Coordinate2 variable in workspace should have [x2,y2] .

Réponses (1)

Walter Roberson
Walter Roberson le 30 Jan 2016

Community Treasure Hunt

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

Start Hunting!

Translated by