Import Coordinates from text file to workspace and then plot

1 visualizzazione (ultimi 30 giorni)
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] .

Risposte (1)

Walter Roberson
Walter Roberson il 30 Gen 2016

Community Treasure Hunt

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

Start Hunting!

Translated by