

AllStateTrajectory100(:,1)=SingleStateSeries(1,1).eff100;
AllStateTrajectory100(:,2)=ones(length(SingleStateSeries(1,1).eff100),1);

for i=2:length(SingleStateSeries)
    laenge=length(SingleStateSeries(1,i).eff100);
    state=i*ones(laenge,1);
   AllStateTrajectory100(end+1:end+laenge,1:2)=[SingleStateSeries(1,i).eff100(:,1),state(:,1)];
   clear state laenge
end


for i=1:95
SingleStateSeries(1,i).names=CSingleStates(1,i).names
SingleStateSeries(1,i).part=CSingleStates(1,i).part
SingleStateSeries(1,i).counts=CSingleStates(1,i).counts
end


i=19
k=1
SingleStateSeries(1,i).names=ExtraSingles14(1,k).names;

SingleStateSeries(1,i).part=ExtraSingles14(1,k).part;

SingleStateSeries(1,i).counts=ExtraSingles14(1,k).counts;

    k=2
for i=259:261
  
SingleStateSeries(1,i).names=ExtraSingles14(1,k).names;

SingleStateSeries(1,i).part=ExtraSingles14(1,k).part;

SingleStateSeries(1,i).counts=ExtraSingles14(1,k).counts;
k=k+1;
end

for i=232:236
SingleStateSeries(1,i).names=ExtraSingles11(1,k).names;
SingleStateSeries(1,i).part=ExtraSingles11(1,k).part;
SingleStateSeries(1,i).counts=ExtraSingles11(1,k).counts;
k=k+1;
end


for i=95:260
SingleStateSeries(1,i).eff100=effer(timewindow(SingleStateSeries(1,i).counts,100));
SingleStateSeries(1,i).eff200=effer(timewindow(SingleStateSeries(1,i).counts,200));
SingleStateSeries(1,i).eff500=effer(timewindow(SingleStateSeries(1,i).counts,500));


end

for i=1:13
    Exlaengen(i,1)=length(ExtraSingles2(1,i).counts)
end


ExtraSingles1=Singelizer(SingleStateSeries, ShortChanges(1,:), [36]);
SingleStateSeries(1,96:120)=ExtraSingles1(1,1:25);
i=36
k=1
SingleStateSeries(1,i).names=ExtraSingles2(1,k).names;
SingleStateSeries(1,i).part=ExtraSingles2(1,k).part;
SingleStateSeries(1,i).counts=ExtraSingles2(1,k).counts;

for i=121:122
k=i-118;
SingleStateSeries(1,i).names=ExtraSingles2(1,k).names;
SingleStateSeries(1,i).part=ExtraSingles2(1,k).part;
SingleStateSeries(1,i).counts=ExtraSingles2(1,k).counts;
end

i=123
k=6;
SingleStateSeries(1,i).names=ExtraSingles2(1,k).names;
SingleStateSeries(1,i).part=ExtraSingles2(1,k).part;
SingleStateSeries(1,i).counts=ExtraSingles2(1,k).counts;