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.
Remove NaN ?
Bottles of beer
Getting the indices from a vector
Duplicate each element of a vector.
Generate a vector like 1,2,2,3,3,3,4,4,4,4
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