I actually found the solution for this. just using the function handle inside the body of the function.
Passing function with parameters to another function
13 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi,
I am trying to create a function that accepts another function with its own parameters e.g. Func1(@(x)Func2(x,para1,para2,...etc)) Is this possible in Matlab? If yes, how?
Ver también
Categorías
Más información sobre Matrix Indexing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!