%
% Usage: echodemo graf4

d = load('data.txt');
x = d(1,:);
y = d(2,:);
plot(x',y')
%%
dtab = xlsread('tabulka.xls');
xtab = dtab(:,1);
ytab = dtab(:,2);
plot(xtab,ytab);

a = -5:0.25:6;
b = a.^2.5;

save('pokus.data','a','b','-ascii','-double')
save('pokus_kratky.data','a','b','-ascii')

cc = [a' b'];
save('pokus_transp.data','cc','-ascii')
