% LoadCrossing.m
% Calculates the number of times the load has exceeded a certain value
% LoadCellData must be loaded in the work space.

LoadCrossingValue=[];
clear ans
i=1;

for j=2301:100:6501
    LoadCrossingValue(i)=length(crossing(LoadCellData,[],j));
    clear ans
    i=i+1;

end
