MATLAB: Importing coordinates from excel and making points.

3d plotsimporting excel data

Hello. I need to import 3D coordinates from excel to matlab and make points in matlab from those coordinates, I have three columns for each X, Y and Z coordinate. Thanks for help

Best Answer

[num,txt,raw] = xlsread('myfile.xlsx') ;
X = num(:,1) ;
Y = num(:,2) ;
Z = num(:,3) ;
plot3(X,Y,Z,'.')