% LINPOG vrne matriki Ae in Be linearnih pogojev
% [AE,BE]=LINPOG(ZAC,N)
% AE*X=BE, sistem linearnih pogojev
% ZAC=[x_zac x_kon; y_zac y_kon]
% N+1 je stevilo palic
function [Ae,Be]=linpog(zac_pog,n);
  Ae=zeros(4,2*n+4); 
  Be=zeros(4,1);
  Ae(1,1)=1;Ae(2,n+2)=1;Ae(3,n+3)=1;Ae(4,2*n+4)=1;
  Be=[zac_pog(1,:) zac_pog(2,:)]';
