How to write this equation(a​rgmax(0<=t​<255)(1-h(​t) w(t)) in matlab code?

1 view (last 30 days)
  1. 0<=t<255 is lower limit to argmax. how to use this in matlab coding.
  2. before this the variable h(t),w(t)should be in these variables or it can be replaced by any other variable.. because i initialised for h(t) is p(thresh) and for w(t) is temp1
pls answer for these two questions.
  1 Comment
Laurent
Laurent on 5 Sep 2013
Did you try something yourself yet?
If any of the answers to your other questions are useful to you, please accept them.

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 5 Sep 2013
[minval, minidx] = p .* temp1;
  1 Comment
sheeba
sheeba on 6 Sep 2013
What is this [minval, minidx]?.. i didn't get he answer. clearly i give the equation.. t(in suffix opt)=argmax(limit 0<=t<255)={(1-h(t)(w1(t)a^2(t)+(w2(t)e^2(t)))} pls answer for this question.. lot of times i worked for this equation... i didn't get it.. so pls help me.

Sign in to comment.

Categories

Find more on Programming in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!