calculate total percentage on either side of histogram

2 Ansichten (letzte 30 Tage)
aine gormley
aine gormley am 4 Dez. 2018
Beantwortet: the cyclist am 5 Dez. 2018
Hi, is it possible to calculate the total percentage on either side of histogram - like in the digram below? NB: I dont need to place the value on the chart - or get the percentage for the individual bars, just the percent for either side.
  8 Kommentare
aine gormley
aine gormley am 5 Dez. 2018
hi - the only variable is temperature change (ie the slope from a linear regression over time), so I think that is ok?
dpb
dpb am 5 Dez. 2018
Ok, yes, that should work just fine.
So then slope_TSA was an array and hence the expression
slopes=slope_TSA(:);
maybe? If that were so and the previous was done using the array, that could be the cause of the unexpected answer, perhaps.
I was just trying to figure out why you got a nonsensical answer the one time...it's not terribly important if you now do have the correct result, just "inquiring minds" and all... :)

Melden Sie sich an, um zu kommentieren.

Antworten (1)

the cyclist
the cyclist am 5 Dez. 2018
Taking a very different tack ... maybe you'd find the cdfplot command useful?

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by