X = 0:0.2:1;
Y = [sin(X); cos(X)];
F= fopen('soubor.txt','w');
fprintf(F,'%s\n', 'Hodnoty sinus a kosinus');
fprintf(F,'%4.3f\t %e\n',Y);
fprintf(F,'Poèet hodnot: %1.0f\n',length(X));
fclose(F);



X = {'Èas', 'Teplota', 'Vlhkost'; 10 15 85; 13 22 60; 16 18 70};
xlswrite('data.xls', X, 'Mìøení', 'B2');












