What is Mathmatical Formula to find the specified values (marked in circle) on below graph.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Mahmut Yasak
am 12 Jan. 2019
Kommentiert: Mahmut Yasak
am 12 Jan. 2019

- p(i, j) is a matrix of this graph
Graph Description:
- Where p(1, 114) is values of p(i, j).
- Blue chart bars shows matrix values of p(i, j).
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 12 Jan. 2019
mask = p(1,:) > min(p(1,:));
starts = strfind(mask, [1 0]);
stops = strfind(mask, [0 1]) + 1;
Now you want starts(1) and stops(1) as those positions.
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Graph and Network Algorithms 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!