This is cheating.
it's not, this is a direct and clever solution to the specified problem which would not work for other arbitrary Cody problems, hence not cheating (in my book)
Generate N equally spaced intervals between -L and L
573 Solvers
262 Solvers
204 Solvers
217 Solvers
267 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!