"Elnaz " <ebsadeghian@gmail.com> wrote in message <jmqp9b$5qa$1@newscl01ah.mathworks.com>...
>
>
> Right; this is a synchronization and detection problem. I have a huge image matrix which I am trying to locate the position of the recorded information in it. The matrix is originally produced by putting bits of information in exact positions but then they have interfered with each other and have noise added. Then, I am supposed to use an optimization algo to tell me where to read those information to minimize the detecting error. Therefor, the optimization algo should pass two elements (row and column) of the matrix in order to minimmize my cost function which is the detection error. The range of the two integer params is small say between 0:10.
=============================
So that we can best understand what's going on, you should write show us, in equation form, the dependence of your cost function on this huge matrix.
If you're trying to solve for only 2 parameters each ranging between 0:10, you have only 121 different parameter combinations to choose from. It begs the question why you don't just evaluate the function at all 121 possibilities and minimize by exhaustive search (using the MIN command).
