Borrar filtros
Borrar filtros

Histogram Dealing with Two Variables

1 visualización (últimos 30 días)
jgillis16
jgillis16 el 1 de Jun. de 2015
Comentada: Image Analyst el 1 de Jun. de 2015
I am trying to graph a histogram that displays the distribution of L_blue_galaxy/L_blue_MW=10^(-20.8-M)/2.5. So, I need to evaluate for each galaxy the above quantity and then plot the histogram of it for all the galaxies within 20 Mpc (it will be a histogram of the number of galaxies vs L_blue_galaxy/L_blue_MW). This will allow me to evaluate how many galaxies are less luminous or more bright than the Milky Way.
An example of what I am trying to do is attached.
  3 comentarios
Image Analyst
Image Analyst el 1 de Jun. de 2015
I assume L_blue_MW is a constant, and L_blue_galaxy is a vector, so you basically have
intensityRatios = L_blue_galaxy / L_blue_MW
which gives you the ratio of each galaxy's intensity to the Milky Way's intensity.
I have no idea what the "10^(-20.8-M)/2.5" is for, and why you're setting the intensity ratios equal to that expression. And like Star said, we don't know the value or significance of M perhaps a more descriptive name might help with that).
Image Analyst
Image Analyst el 1 de Jun. de 2015
I assume L_blue_MW is a constant, and L_blue_galaxy is a vector, so you basically have
intensityRatios = L_blue_galaxy / L_blue_MW
which gives you the ratio of each galaxy's intensity to the Milky Way's intensity.
I have no idea what the "10^(-20.8-M)/2.5" is for, and why you're setting the intensity ratios equal to that expression. And like Star said, we don't know the value or significance of M perhaps a more descriptive name might help with that).

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Data Distribution Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by