People outside of your class do not know what problem 3.1 is. Perhaps some could guess it from your test suite, but they shouldn't have to do that. Please post the problem in the description so that any user can solve it, or this problem will likely be deleted. The same applies to the other three you've posted.
Sorry! I will add problem statements on these problems from now on. My intent was to use Cody as a homework resource for my class, not to post problems to the public.
Philip, thank you for replying. Unfortunately, there's not an option to create private problems on Cody. That being said, it would probably be fine to post such problems, as long as they are self contained. I've updated this problem with the actual text from your link and included a hyperlinked reference. Please review this updated problem and make similar updates to the others. That way, they can be used for both your homework study and the general Cody population. In fact, you'll likely learn some neat tricks from the Cody population, once they can solve the problems.
Find nearest prime number less than input number
Basic arrays operations.
Finding perimeter of a rectangle
Solve a System of Linear Equations
to the 2 all elements
Find the treasures in MATLAB Central and discover how the community can help you!
Select a Web
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