Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How would you write this equation in MATLAB? (challenging!)

Tags:
  1. Apr 25, 2014 #1
    Hello guys,

    I would like to put this equation into the MATLAB to calculate the global maximum of mutual information function. In order to do that, I notice that I need a gradient of the function which is described as in attached files.

    I do have the vector for P(x) and P(x|spike). Let's say they are called A and B respectively. Then, how do I write this down in MATLAB to calculate the gradient?

    FYI, A and B are 1-by-100 vectors.
     

    Attached Files:

  2. jcsd
  3. May 4, 2014 #2
    I'm sorry you are not finding help at the moment. Is there any additional information you can share with us?
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook




Loading...