Matlab includes functions upper and lower which shift a


Matlab includes functions upper and lower which shift a string from upper case to lower case respectively. create a  new function called caps.m which capitalizes the first letter in each word and forces all other letters to be lowercase. the function must have one input argument and can handle the error cases of no input or one or more inputs. use the script file test_caps.m to call caps.m and print out before and after strings. show your function file and the testing result of typing 1) THIS IS A TEST 2)this is a test   and  3) This iS a 3rd test

 

 

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Matlab includes functions upper and lower which shift a
Reference No:- TGS01179613

Expected delivery within 24 Hours