Why the Matlab window returns 'Incorrect' even though the code is correct
Mostrar comentarios más antiguos
Even if my code is correct, the Matlab window is returning 'Incorrect'. Please help.
Respuestas (1)
Star Strider
el 30 de Dic. de 2017
0 votos
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.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!