why is my solution failing? it runs fine in a separate window of Matlab.
it looks like it is just the output isn't in the right format
example
mine says
y_correct=
-1
templates wants
y_correct= -1
i don't know why my "-1" is in a new line.
The error you are receiving has to do with the Cody server, not your function. Try it again (wait a few hours between attempts) until you no longer see the "temporary unavailability of MATLAB Service" error.
Make an awesome ramp for a tiny motorcycle stuntman
334 Solvers
Split a string into chunks of specified length
475 Solvers
309 Solvers
327 Solvers
Flip the vector from right to left
2666 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!