c=[.1:.1:1]
u=2*sin(c)
%////////////////////////////
% file I/O with binary files
%////////////////////////////
fid=fopen('Z:\Matlab-examples\data1.dat','w');
for i = 1:1:10  
   	fwrite(fid, u(i), 'float');
end
fclose(fid);
