function soubor
% ulozi 5 cisel do cisla.txt
x=rand(1,5)*10;
for n=1:length(x)
    fprintf('%.2f\n',x(n));
end
f=fopen('cisla.txt','w');
for n=1:length(x)
    fprintf(f,'%.2f\n',x(n));
end
fclose(f);

end

