Divide histogram in three parts
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Nataliya
il 28 Feb 2017
Commentato: Walter Roberson
il 28 Feb 2017
Hi, I want to divide the histogram in three parts and define the ranges of three parts.
minRed = min(red(:));
maxRed = max(red(:));
AvgRed = (minRed+maxRed)/3;
AvgRed2 = AvgRed+AvgRed;
But sometimes the value of AvgRed becomes less than minRed and value of AvgRed2 exceeds the maxRed. What is the correct way to do this?
0 Commenti
Risposta accettata
Walter Roberson
il 28 Feb 2017
A + (B - A) /3
A + (B - A) /3 *2
2 Commenti
Walter Roberson
il 28 Feb 2017
1-0.5459 is 0.4541. Divide by 3 gives 0.15136. Add 0.5459 gives 0.69726.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Histograms in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!