Choosing a function handle from a group of function handles
    2 views (last 30 days)
  
       Show older comments
    
    Mohammad Shojaei Arani
 on 29 Jul 2022
  
    
    
    
    
    Commented: Mohammad Shojaei Arani
 on 29 Jul 2022
            Hello,
Assume that we have saved many function handles f_1_1, f_1_2,f_1_3, ..., f_2_1,f_2_2,f_2_3, .... in a folder. Now, assume also
that natural numbers m and n are given. Now, I want to define a function handle f as f = f_m_n . How to do this? (I mean, I want to
do this in a code in a for-loop).
Thanks,
Babak
2 Comments
  Voss
      
      
 on 29 Jul 2022
				Please explain what it means to save a function handle in a folder.
Have you saved a function handle (which is a class of variable) in a mat-file in a folder?
Have you saved a function (which is MATLAB code) in an m-file in a folder?
Something else?
Accepted Answer
More Answers (0)
See Also
Categories
				Find more on Loops and Conditional Statements in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

