Matlab examples

quick and dirty, display a list of 3D point curves as a surface.

clear all ExportScan %% s = 'XYZ';

ss = {};

%ss{1} = s;

for idx = 1:400 ss{idx} = [s num2str(idx)]; end

XYZ = [];

for idx = 1:400 eval(['XYZ = [XYZ; ' ss{idx} '];']); end

Z = XYZ(:,3);

Z = reshape(Z,481,400);

[X,Y] = meshgrid(1:400,1:481);

surface(X,Y,Z,'EdgeColor','none')