the main question is solved but i have another question.
for i= 1:42
A(i)=sort(Achsemoment==(j) & Achsemoment<=(j+1));
i am having a vector of length 100000
which contains values from 0 to 4200
and i want to sort them all in step of 100 in different variables...
so tried this but not getting correct code