code in script called swap
古いコメントを表示
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 件のコメント
James Tursa
2020 年 1 月 24 日
What have you done so far? What specific problems are you having with your code?
Jose Morales
2020 年 1 月 24 日
James Tursa
2020 年 1 月 24 日
Do you have any ideas for how to do this? What would the algorithm be?
Jose Morales
2020 年 1 月 24 日
回答 (1 件)
James Tursa
2020 年 1 月 25 日
0 投票
You can adapt the three lines of code found here:
カテゴリ
ヘルプ センター および File Exchange で Verification, Validation, and Test についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!