How do I replace on variable with another variable?

4 visualizzazioni (ultimi 30 giorni)
Heejin Kim
Heejin Kim il 20 Gen 2015
Commentato: Stephen23 il 20 Gen 2015
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 Commenti
Image Analyst
Image Analyst il 20 Gen 2015
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.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Loops and Conditional Statements in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by