1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Muon lifetime experiment

  1. Apr 27, 2010 #1
    1. The problem statement, all variables and given/known data
    As a lab experiment, we must try to measure and calculate the lifetime (τ) of a muon. After all data is collected, the lifetime can be calculate by using the maximum likelihood estimation.
    The function on which MLE is applied:
    http://j.imagehost.org/view/0139/Schermafbeelding_2010-04-27_om_22_29_38 [Broken]

    One of the goals of this experiments is to do the MLE manually. For that I solved al the equations that are given by the definition of MLE. I finally ended with this equation:
    http://j.imagehost.org/view/0926/Schermafbeelding_2010-04-27_om_22_29_56 [Broken]
    Ta, Tb and N are constants, Ti is the dataset and Tau is the lifetime (this should be calculated).
    I know this equation is correct. It should now be solved with mathematical software (I prefer matlab).


    2. Relevant equations
    My problem is to solve this in matlab. When i try to do this, it gives me the error:
    "The expression to the left of the equals sign is not a valid target for an assignment."


    3. The attempt at a solution
    This is the code i used:
    Ti is a variable with 61565 rows and one column

    Does anyone know what im doing wrong?

    Thanks!
     
    Last edited by a moderator: May 4, 2017
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?



Similar Discussions: Muon lifetime experiment
Loading...