Hello, Rachel Wedemeyer. I guess you might still be developing this Problem? There are a few important improvements that you will need to make. One of the most important is to ensure that you include several (at least four) tests within your Test Suite, each for a different set of inputs. You can find some more thoughts on these matters at Problem 44521. Lastly, it is worth checking what Problems have already been created, so that yours will be adding something new to Cody's collection. As your current Problem Statement more-or-less duplicates Problems 8, 1046, 1736, I suggest modifying your Problem to create a new challenge for Players. Regards, DIV.
Select every other element of a vector
Duplicate each element of a vector.
Is the input divisible by 3?
06 - Matrix Equations 1
Replace Nonzero Numbers with 1
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