How to separate into unimodal or bimodal

26 visualizaciones (últimos 30 días)
Jórdan Venâncio Leite
Jórdan Venâncio Leite el 21 de Mzo. de 2022
Comentada: Jórdan Venâncio Leite el 10 de Abr. de 2022
Hello, I have some histograms. How can I separate them through Matlab code and tell which one is unimodal or bimodal ?
thanks in advance

Respuesta aceptada

Image Analyst
Image Analyst el 22 de Mzo. de 2022
Editada: Image Analyst el 22 de Mzo. de 2022
Maybe use kstest(), lillietest(), or chi2gof().
Or fit the data to two Gaussians and see if the peak locations are separated by enough distance. See attached demos.
Also see links on the right, such as
  19 comentarios
Image Analyst
Image Analyst el 9 de Abr. de 2022
Strange. So you don't know why you need to know? Is it your homework then, and it's just something the professor asked? Did you discuss some method in class? Or if it's not your homework, why don't we just forget about that and figure out what to do with your original signal. Of course any signal that has even a little bit of noise could be considered the composition of two Gaussians. So let's just assume it is. OK, now what? What do you now need to do with your original signal knowing that its histogram is two Gaussians?
Well sorry I couldn't help more (I'm not an expert statistician) but good luck.
Jórdan Venâncio Leite
Jórdan Venâncio Leite el 10 de Abr. de 2022
THANKS for your answer IMAGE ANALYST!! See if you can help me with this https://www.mathworks.com/matlabcentral/answers/1693350-how-to-define-if-a-histogram-is-unimodal-or-bimodal. It's almost finished already .

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by