MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > fminsearch for functions 

Hi, I have a problem and I was wondering if I could use fminsearch (or some related function) to help me out. Essentially I have 15 unknown functions which are combined in some particular way (I know how they are combined, if I have the 15 I can easily enough combine them) to give me a measured matrix (I know this matrix). So my problem is essentially I want to minimze the norm of (the measured matrix minus the "what i predict" matrix from 15 functions). It is essentailly a minimzation of multiple functions problem, whereas a typical minimization problem says "find the minimum of a function" i'm saying "find the minimum of the norm of (1 matix  the other matrix)" by fiddling with 15 functions (vectors). Is this possible? I have considered doing simpleminded iterative techniques myself but I believe they will be too computationally intensive to run in the amount of time I desire, thus I 
"Karl " <karllandheer@gmail.com> wrote in message <j5876f$g8s$1@newscl01ah.mathworks.com>... 
You are right, I didn't realize fminsearch was able to accept matrices as an input, thanks for this. I am, however, having another problem. Here is my function and I wish to minimize the L2Norm: 
"Karl " <karllandheer@gmail.com> wrote in message <j5d43n$je4$1@newscl01ah.mathworks.com>... 
"Matt J" wrote in message <j5d7m4$3ud$1@newscl01ah.mathworks.com>... 
"Karl " <karllandheer@gmail.com> wrote in message <j5d8m1$7a6$1@newscl01ah.mathworks.com>... 
"Matt J" wrote in message <j5d9ta$che$1@newscl01ah.mathworks.com>... 
"Karl " <karllandheer@gmail.com> wrote in message <j5dc0t$ljn$1@newscl01ah.mathworks.com>... 
"Matt J" wrote in message <j5dejh$2nr$1@newscl01ah.mathworks.com>... 
"Karl " <karllandheer@gmail.com> wrote in message <j5dg7q$96v$1@newscl01ah.mathworks.com>... 
"Karl " <karllandheer@gmail.com> wrote in message <j5dg7q$96v$1@newscl01ah.mathworks.com>... 
"Matt J" wrote in message <j5dk1o$npf$1@newscl01ah.mathworks.com>... 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.