%
% Usage: echodemo data_demo

d = load('data.txt');
x = d(1,:);
y = d(2,:);
plot(x',y', '-o', 'LineWidth', 1, 'MarkerSize', 8)

%%
dtab = xlsread('tabulka.xls');
xtab = dtab(:,1);
ytab = dtab(:,2);
plot(xtab,ytab, '-o', 'LineWidth', 1, 'MarkerSize', 8)


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')
