Azzera filtri
Azzera filtri

Random values extraction from an histogram

1 visualizzazione (ultimi 30 giorni)
Fabio
Fabio il 20 Mag 2014
Commentato: Fabio il 21 Mag 2014
I have two distributions and I would like to casually correlate them. One distribution is represented by the park’s cars accesses for each quarter of the day (for example at the 8:00 two cars access in the park, at the 8:15 seven cars access in the park, at the 8:30 one car accesses in the park). The second distribution is represented by values couple where x represent the different battery SOCs and y is the number of cars which has the SOC x(i). The lengths of the two distributions are different and I would like to characterize each park’s access (not each park’s access for a quarter) whit a SOC.
Thank you
Fabio
  5 Commenti
dpb
dpb il 20 Mag 2014
He did say it was to be a "casual" correlation, Star... :)
I wondered the same thing which is why I asked about the abbreviation to see if could make any sense of the query. Unfortunately, it doesn't help from that standpoint.
As Mark Twain said (and S Lord quoted here not long ago) --
"There is something fascinating about science. One gets such wholesale returns of conjecture out of such a trifling investment of fact."
Fabio
Fabio il 21 Mag 2014
I have just solved with randsample function that takes in account the probability.
Thank you

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Embedded Coder in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by