Question: Fucntion name USE MATLAB PLEASE!! Function Name: wordy Inputs 1. (double) An integer between -999 and 999, inclusive Outputs 1. (char) A string representation of

Fucntion name USE MATLAB PLEASE!! Function Name: wordy Inputs 1. (double) AnFucntion name USE MATLAB PLEASE!!

Function Name: wordy Inputs 1. (double) An integer between -999 and 999, inclusive Outputs 1. (char) A string representation of the integer Background Numbers are great, but sometimes it's necessary to write them out in text. But with GT Wi-Fi down, you can't just WolframAlphaT it, so you might actually have to think about something. However, this can be a tedious process, which is why you are going to automate it in MATLAB Function Description Given an integer, convert it to the fully written-out word form. For example, the integers: 0, 1, 2, 11, 16, 20, 45, -100, and 549 correspond to "zero', 'one, 'two, 'eleven', "sixteen, 'twenty, 'forty-five, 'negative one hundred', and 'five hundred and forty-nine respectively. The full set of rules for how to format numbers is listed below Rule Number Value Range Rule -999 - is 'twenty', 'thirty 'ninety 100 hundred [and] Notes It is pretty easy to make a test script that can test your function against the solution for all possible inputs. . . The word 'and' should only be present after the hundred part of the final phrase if there are more nonzero numbers following that place. Hints Cell arrays will be very useful for this problem. Function Name: wordy Inputs 1. (double) An integer between -999 and 999, inclusive Outputs 1. (char) A string representation of the integer Background Numbers are great, but sometimes it's necessary to write them out in text. But with GT Wi-Fi down, you can't just WolframAlphaT it, so you might actually have to think about something. However, this can be a tedious process, which is why you are going to automate it in MATLAB Function Description Given an integer, convert it to the fully written-out word form. For example, the integers: 0, 1, 2, 11, 16, 20, 45, -100, and 549 correspond to "zero', 'one, 'two, 'eleven', "sixteen, 'twenty, 'forty-five, 'negative one hundred', and 'five hundred and forty-nine respectively. The full set of rules for how to format numbers is listed below Rule Number Value Range Rule -999 - is 'twenty', 'thirty 'ninety 100 hundred [and] Notes It is pretty easy to make a test script that can test your function against the solution for all possible inputs. . . The word 'and' should only be present after the hundred part of the final phrase if there are more nonzero numbers following that place. Hints Cell arrays will be very useful for this

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!