Import Coordinates from text file to workspace and then plot

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] .

Asked:

on 30 Jan 2016

Answered:

on 30 Jan 2016

Community Treasure Hunt

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

Start Hunting!