MATLAB: About 3D surface plot

3d plots

I have simple question on 3D plot. I have dataset, a = 100*1*51. When I give command surf(bb) the message shows CData must be an M-by-N matrix or M-by-N-by-3 array. Please guide me where is problem? I am also attaching my raw data file.
Regards, Akand

Best Answer

a = ...your 100 x 1 x 51 data;
bb = squeeze(a);
surf(bb)