code in script called swap

1 回表示 (過去 30 日間)
Jose Morales
Jose Morales 2020 年 1 月 24 日
回答済み: James Tursa 2020 年 1 月 25 日
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
James Tursa 2020 年 1 月 24 日
Do you have any ideas for how to do this? What would the algorithm be?
Jose Morales
Jose Morales 2020 年 1 月 24 日
I do not. I'm new to this and I'm confused just as you are. Here's the full question:
To test your understanding of assignment statements, 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

サインインしてコメントする。

回答 (1 件)

James Tursa
James Tursa 2020 年 1 月 25 日

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by