How Cody give a name to this code ?
Does he use the first line ?
If no function header is found cody seems to use by default the expected name (get_me.m in this case); see solution 293880
So it's a script with the default expected function name (get_me here), that can by definition access directly to the base workspace. Fascinating solution...
Very nice...a real one line solution.
I think it uses the first line even if it is a comment.So if you delete the first line of solution 293880, it will not work
see solution 516182. And its default should be your_fcn_name.m if there is not the first line.
see solution 482186 of problem 902
Make a checkerboard matrix
Project Euler: Problem 8, Find largest product in a large string of numbers
Find a subset that divides the vector into equal halves
convert matrix to single column
Get me! v3
Get me! v4 (Cody hacking challenge)
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