Thread: Parameter estimation Nelder Mead

  1. #91
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    You can't solve a math problem that you don't know how to write. That's like me giving an Algebra problem to a first grader and telling him to solve for X. He doesn't know what I'm talking about - just like you don't know what you are talking about when you try to translate Matlab to C. I don't know what you are trying to do either, but "same old answers" tells me your math is wrong.

    If you can't put into clear words what you are trying to achieve, then the chances are you can't translate that from one language to the next either.


    Quzah.
    Hope is the first step on the road to disappointment.

  2. #92
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,909
    So I doubt any of us have a good idea of what all those variables in the matlab code represent in the big picture of the Nelder-Mead method. I can read the C code, but I don't know what it means because I'm not familiar with Nelder-Mead and what the initial simplex should be/do. One thing I can suggest is that you comment out the existing initial_simplex in the C code and write an exact translation of the matlab code. If that makes the numbers match, then you found your discrepancy. I'm assuming you not only can read the matlab code, but know what it means and understand it's purpose in the mathematical sense.

  3. #93
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by quzah View Post
    but "same old answers" tells me your math is wrong.
    Ever given a thought to the idea the matlab answers are wrong?

    If you can't put into clear words what you are trying to achieve, then the chances are you can't translate that from one language to the next either.
    Quzah.
    Yep.

  4. #94
    Registered User
    Join Date
    Apr 2008
    Posts
    204
    I havent thought about the matlab being wrong, because the papaer I got the original equations from was published, and within the paper it says what a b and c should be - the values my matlab got. I can read the matlab, but I have decided to do some research into the method itself and how it deals with local minimums. As i pointed out in an earlier post the values it is finding are solutions to the problem, just not the solution i require.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem with simple Factorial Estimation
    By Arthurdent in forum C Programming
    Replies: 7
    Last Post: 06-16-2011, 07:28 PM
  2. Probability estimation
    By Mario F. in forum General Discussions
    Replies: 3
    Last Post: 09-18-2009, 08:40 AM
  3. Replies: 6
    Last Post: 01-08-2008, 10:25 AM
  4. project help (mead,median,mode)
    By Pliskin_Vamp in forum C Programming
    Replies: 1
    Last Post: 04-09-2007, 05:08 PM
  5. area estimation of graph
    By hei in forum C Programming
    Replies: 3
    Last Post: 10-16-2001, 12:23 AM