code in script called swap
Mostrar comentarios más antiguos
write a few lines of code that swap the values of x and y. Put your code in a script called swap and test it.
4 comentarios
James Tursa
el 24 de En. de 2020
What have you done so far? What specific problems are you having with your code?
Jose Morales
el 24 de En. de 2020
James Tursa
el 24 de En. de 2020
Do you have any ideas for how to do this? What would the algorithm be?
Jose Morales
el 24 de En. de 2020
Respuestas (1)
James Tursa
el 25 de En. de 2020
0 votos
You can adapt the three lines of code found here:
Categorías
Más información sobre Verification, Validation, and Test 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!