diff options
author | Rashmi Patankar | 2025-04-30 15:01:49 +0530 |
---|---|---|
committer | GitHub | 2025-04-30 15:01:49 +0530 |
commit | 0495a12104d8466509769fc34271757f00577709 (patch) | |
tree | cb208dd421d39051d85f4ef0476c9208ef2c41ab /macros/strcmpi.sci | |
parent | a0bff158d21c2c12a12781bc5019f3a45bd866b2 (diff) | |
parent | ec6379e7494ff4ca2dc7c7524013d109be450bae (diff) | |
download | FOSSEE-Signal-Processing-Toolbox-master.tar.gz FOSSEE-Signal-Processing-Toolbox-master.tar.bz2 FOSSEE-Signal-Processing-Toolbox-master.zip |
Fixed Failing test scripts
Diffstat (limited to 'macros/strcmpi.sci')
-rw-r--r-- | macros/strcmpi.sci | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/macros/strcmpi.sci b/macros/strcmpi.sci new file mode 100644 index 0000000..4165d07 --- /dev/null +++ b/macros/strcmpi.sci @@ -0,0 +1,6 @@ +function result = strcmpi(str1, str2) + lowerStr1 = convstr(str1, "l"); + lowerStr2 = convstr(str2, "l"); + result = strcmp(lowerStr1, lowerStr2); + result = double(result); +endfunction
\ No newline at end of file |