How do I replace on variable with another variable?

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 comentarios

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 el 20 de En. de 2015
So what was wrong with the answers to your original question?:

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 20 de En. de 2015

Comentada:

el 20 de En. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by