-
5 Comments
Show
2 older comments
Dyuman Joshi
on 14 Mar 2023
I don't know why this is flagged.
Adrien
on 29 Jun 2023
@Dyumin Joshi
It should be one of the tests, but the problem creator specifically requested the flip function not be used. It should be a test case to check for flip() though.
Bertopedro
on 12 Nov 2023 at 0:49
Is this allowed to not used end?
Bertopedro
on 12 Nov 2023 at 0:52
Obey the direction
"Request not to use direct function."
Christian Schröder
on 12 Nov 2023 at 9:10
@Bertopedro MATLAB permits omitting the end keyword for a function for reasons of backward compatibility, but one shouldn't do it. On Cody, I believe there's no difference in terms of size, so there's never any reason to omit it.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!