
for i=1:12,
 for j=1:41,
  sg(i,j)=y(max(size(y)),j,i);
 end
end  
  
'Stasjonærgain for step i pådrag for måling 5,7,8,9,17,31'

sg;
sgr=sg(:,(1:21));
sgre=[sg(:,5) sg(:,7) sg(:,8) sg(:,9) sg(:,17) sg(:,31)]

for i=1:12,
 for j=1:41,
  ig(i,j)=y(1,j,i);
 end
end  

'Initialgain for step i pådrag for måling 5,7,8,9,17,31'

ig;
igr=ig(:,(1:21));
igre=[ig(:,5) ig(:,7) ig(:,8) ig(:,9) ig(:,17) ig(:,31)]





