Why the Matlab window returns 'Incorrect' even though the code is correct

Respuestas (1)

Star Strider
Star Strider el 30 de Dic. de 2017
The only possibility I can think of is that in the instructions, x and y are lower-case. In your code, they are upper case. MATLAB is case-sensitive, so if the application is looking for lower-case variables, it could throw an error.
Try them as lower-case — x instead of X and y instead of Y — and see if that works.
If it does not Please contact the course administrator as the instructions tell you.

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Preguntada:

el 30 de Dic. de 2017

Respondida:

el 30 de Dic. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by