T = [v angle_random]; % this is if you want a 2-column file
save('random_cylind.txt','T','-ascii','-double'); % explore available options for "save" in Matlab documentation
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!