MATLAB - String Handling
What will be the output of this MATLAB code?
s1 = "Test";
s2 = "test";
result = strcmpi(s1, s2);
disp(result);
s1 = "Test";
s2 = "test";
result = strcmpi(s1, s2);
disp(result);
strcmpi compares two strings ignoring case differences.strcmpi returns true (1).15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions