Several answers seem to think "*" isn't actually multiplication :-( . Follow the rules, folks!
see problem 242 for an example of how to disallow the use of specific characters (improving your testsuite is a better way to ask players to "follow the rules" of your problem in Cody)
Seems people can't read the rules. Trouble is that Cody's "test cases" can't test for existence of disallowed operators in the code.
Make a run-length companion vector
Find the logic
Matlab Basics - Absolute Value
Sum of the Multiplication of Vectors
Determine if input is divisible by three.
Min by mean
Find the treasures in MATLAB Central and discover how the community can help you!
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