Hi All,
I have an input matrix as shown. How do I calculate for which values the maximum overlap occurs? i.e, as you can see the maximum overlap is somewhere between 0.5 and 3e-5. How do I do this using MATLAB? I tried using regression function but it does not seem to work.
The x-axes represent current values and the y-axes represent the voltages. I need to to be able to say that in this case, for example, we have say an overlap of 11 or 12 inputs (y-values). So this is for what x-range?
Please assist. Thanks! This second figure below shows basically the points for which the x-axes values I need to find as they all lie along the same y- axes.

댓글 수: 4

John Chilleri
John Chilleri 2017년 2월 22일
Do you have the x and y values stored, or only this image?
Assuming you have the x and y values, do you want the single x value with the most overlap, or if you want a range, how is the range constrained (how big can it be)?
Kash022
Kash022 2017년 2월 23일
Thanks John...the latter part exactly...the range...there is no constraint in the range..it should be with the maximum overlaps...In this case we have like 16 inputs...so it could be between say, 11-16..
Guillaume
Guillaume 2017년 2월 23일
An example matrix rather than a graph we can't test any code with would be extremely useful.
Are the x values discretised? If not, is it acceptable to discretise them in fixed bins and count the population of each bin?
Yes..its a 16x16 matrix. As an example,
nn =randn(16,16);
figure();plot(nn,'*b');

댓글을 달려면 로그인하십시오.

 채택된 답변

Pooja Patel
Pooja Patel 2017년 2월 23일

0 개 추천

use max function

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

질문:

2017년 2월 22일

댓글:

2017년 2월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by