How do I replace on variable with another variable?
5 次查看(过去 30 天)
显示 更早的评论
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
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
2015-1-20
So what was wrong with the answers to your original question?:
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!