MATLAB/Wikiquiz writer (MATLAB)/removeheaders.m

function [ newquizarray] = removeheaders( quizarray )
%REMOVEHEADERS removes headers from quiz files
%   quizarray is a cell matrix
sizebefore=size(quizarray,1);
count=0;
shift=0;
while count<sizebefore
    count=count+1
    if ~isempty(quizarray{count,2})
        newquizarray(count-shift,:)=quizarray(count,:);
    else
        shift = shift+1;
end


end