1 2 3 4 5 6
function result = strcmpi(str1, str2) lowerStr1 = convstr(str1, "l"); lowerStr2 = convstr(str2, "l"); result = strcmp(lowerStr1, lowerStr2); result = double(result); endfunction