How to call a different function for each iteration of a loop?
이전 댓글 표시
If I have created a set of functions with names corresponding to indices, How do I later call that function with the index I am on? e.g. in a "for" loop, call "minfunt1" on iteration 1, "minfunt2" on iteration 2, etc.?
채택된 답변
추가 답변 (1개)
Image Analyst
2014년 6월 3일
0 개 추천
I don't understand how this is different than your prior answer in http://www.mathworks.com/matlabcentral/answers/132127#answer_139195 which I answered and you accepted.
댓글 수: 3
Darya
2014년 6월 3일
Image Analyst
2014년 6월 3일
How different are these functions? Totally different? Or are they very similar functions that you can just pass j into?
Darya
2014년 6월 3일
카테고리
도움말 센터 및 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!