function[N,Stop,BinSize]=Histogram_SDVx(Data,BinSize)
%Subfunction of readData, creates a Histogram for the meridional wind with spacing of "BinSize"
%%

max(Data.SD_Vx);
min(Data.SD_Vx);
j=0;

Stop=(max(Data.SD_Vx)-mod(max(Data.SD_Vx),BinSize));

N=zeros(1,Stop/BinSize);
for i=0:BinSize:Stop+BinSize
    j=j+1;
    ind=Data.SD_Vx>=i&Data.SD_Vx<i+BinSize;
    N(j)=size(find(ind==1),1);
    if N(j)==0
        N(j)=NaN;
    end
        
end


end
