Filter löschen
Filter löschen

Finding maximum overlaps in a matrix

1 Ansicht (letzte 30 Tage)
Kash022
Kash022 am 22 Feb. 2017
Kommentiert: Kash022 am 24 Feb. 2017
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 Kommentare
Guillaume
Guillaume am 23 Feb. 2017
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?
Kash022
Kash022 am 23 Feb. 2017
Yes..its a 16x16 matrix. As an example,
nn =randn(16,16);
figure();plot(nn,'*b');

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Pooja Patel
Pooja Patel am 23 Feb. 2017
use max function

Weitere Antworten (0)

Kategorien

Mehr zu Visual Exploration finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by