Fminsearch for matrices
Show older comments
Hi, how can i use fminsearch function for more than one dimension.
I am trying to do some thing like f=@(X)min(A-B*X), where A and B are given matrices. When I try to do fminsearch(f,x) i get the following error
??? Error using ==> minus Matrix dimensions must agree
so is there a way? Thanks
Accepted Answer
More Answers (0)
Categories
Find more on Mathematics 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!