Please make a function whcih divides x/y, but pay attention for some exceptions with NaN,0,Inf. Sometimes return "ERROR" instead of result.
Why return 'ERROR' when the result is 0? Doesn't seem like an error to me.
Hello, Matthew Eicholtz. For division of x by y there are no cases in the Test Suite that could return a result of 0. Note: the use of mldivide in the template could be causing confusion. —DIV
Back to basics 25 - Valid variable names
Compute a dot product of two vectors x and y
Generate a vector like 1,2,2,3,3,3,4,4,4,4
sum of first 'n' terms
Finding an element in a vector
what can you get for exactly amount of money
Basic commands - amount of inputs
BASICS - sum part of vector
Basic commands - Greatest common divisor
Basic commands - Least common multiple
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office