In: Electrical Engineering
Write a MATLAB function named numberWords() that takes a whole number as an argument and returns a string containing the number word for the whole numbers 0 - 999.
For example: numberWords(234) would return 'two hundred thirty-four'
If the input value is not a whole number between 0 - 999 then the function should return a string equivalent to 'ERROR'.