error = sum (cellfun(@(V) any(isnan(V(:))), inputs));
if error > 0
disp('Warning: Erroneous input detected');
errorMessage('Erroneous input detected! Please verify the inputs.');
return;
end
error = sum (cellfun(@(V) any(isnan(V(:))), inputs));
if error > 0
disp('Warning: Erroneous input detected');
errorMessage('Erroneous input detected! Please verify the inputs.');
return;
end