How do I make a univariate function handle out of a multivariate function?
Afficher commentaires plus anciens
I want to use the eigs function with function handle input:
I have a function, let's say Aasfunction(x,lambda), which indeed returns A*x, and A depends on a parameter lambda: A=A(lambda).
How can I create a univariate function handle from Aasfunction(x,lambda), with one input, and fix lambda in the definition?
(I guess I can alway define a function Awithfixedlambda(x)=Aasfunction(x,lambda), and lambda is fixed to some numerical value inside the function definition, but I'm looking for a solution, where I can avoid this.)
Thank you!
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Dates and Time dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!