Azzera filtri
Azzera filtri


Questa domanda è stata definitivamente chiusa e trasferita nelle Discussions.

How do I call the reference solution in Cody?

George Bittar
George Bittar il 8 Giu 2021
I created a problem in Cody that approximates e. To test the user's solution, I compare their solution to e. What I want to do instead is compare the user's solution to my reference solution. The question is how do I call the reference solution in the test suite?
This is currently my test suite.
y_correct = playgame();


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by