How do I replace on variable with another variable?

3 ビュー (過去 30 日間)
Heejin Kim
Heejin Kim 2015 年 1 月 20 日
コメント済み: Stephen23 2015 年 1 月 20 日
I'm working on an if statement in a for loop, and I need to replace variable 'ax' with variable 'bx' continuously throughout the whole loop...any ideas?
  2 件のコメント
Image Analyst
Image Analyst 2015 年 1 月 20 日
Based on your other original question, you don't want to do this and should use a while loop instead of a for look like I said in your original question.
Stephen23
Stephen23 2015 年 1 月 20 日
So what was wrong with the answers to your original question?:

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by