- #1
Condereal
- 3
- 3
- TL;DR Summary
- Finding the best parameter to satisfy a set of equations, but that parameter is the index of a summation.
Hi everyone!
So, the problem I'm having has more to do with "how to pose the problem to solve it in some software as Matlab or similar".
I have experimentally measured values ##\varepsilon_{exp}^i## with ##i=1,\cdots,6##, that is, I have 6 detectors.
Then, I know (from a Monte Carlo simulation) a set of values ##\psi^i(n)## with ##n\in\mathbb{N}## for each detector, that satisfy: $$\sum\limits_{n=0}^{n_{max}}\psi^i(n) = \varepsilon_{sim}^i\approx \varepsilon_{exp}^i$$ The thing is, I would like to find a number ##n_0\in\mathbb{N}## such that: $$\varepsilon_{exp}^i-\varepsilon_{sim}^i(n_0)=\varepsilon_{exp}^i-\sum_{n=n_0}^{n_{max}}\psi^i(n)\to 0$$ for all six equations at the same time, that is, for all ##i##. This is an optimization problem, and it screams ##\chi^2##-minimization or maximum-likelihood problem. Can anyone imagine a way of posing this problem in an environment like Matlab?
Every answer will be very much appreciated.
So, the problem I'm having has more to do with "how to pose the problem to solve it in some software as Matlab or similar".
I have experimentally measured values ##\varepsilon_{exp}^i## with ##i=1,\cdots,6##, that is, I have 6 detectors.
Then, I know (from a Monte Carlo simulation) a set of values ##\psi^i(n)## with ##n\in\mathbb{N}## for each detector, that satisfy: $$\sum\limits_{n=0}^{n_{max}}\psi^i(n) = \varepsilon_{sim}^i\approx \varepsilon_{exp}^i$$ The thing is, I would like to find a number ##n_0\in\mathbb{N}## such that: $$\varepsilon_{exp}^i-\varepsilon_{sim}^i(n_0)=\varepsilon_{exp}^i-\sum_{n=n_0}^{n_{max}}\psi^i(n)\to 0$$ for all six equations at the same time, that is, for all ##i##. This is an optimization problem, and it screams ##\chi^2##-minimization or maximum-likelihood problem. Can anyone imagine a way of posing this problem in an environment like Matlab?
Every answer will be very much appreciated.