Define a function_handle with array of variable dimension as an input
Show older comments
Hi everybody,
I've a probleme of unconstrained optimization and I would like to define the following function as a function_handle such that dimension is variable, for example:

where
I wonder if it's possible or there is a another way to define F.
Thank You in advance for Your Help
Answers (1)
Categories
Find more on Choose a Solver 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!