フィルターのクリア

How to generate a percentile graph in matlab?

5 ビュー (過去 30 日間)
yashvin
yashvin 2015 年 7 月 8 日
コメント済み: Torsten 2015 年 7 月 8 日
I have 2 data arrays:
Time=[15.0000 15.0000 15.0000 15.0000 4.4667 15.0000 8.4000 15.0000 15.0000 15.0000 10.8667 15.0000 12.3333]
and
People=[5.2038 5.5000 5.5000 5.8133 6.0000 2.0000 2.4830 0.5000 1.0004 1.5000 1.9258 0.0122 0.5000]
I want to generate a percentile graph like:
How can i do it? I know i need to sort the values in people.
Quantile also does not allow me to plot it! How shall i proceed for a case like this?
  3 件のコメント
yashvin
yashvin 2015 年 7 月 8 日
Any recommendation for the best fit curve?
Torsten
Torsten 2015 年 7 月 8 日
https://en.wikipedia.org/wiki/Logistic_function
?
Best wishes
Torsten.

サインインしてコメントする。

採用された回答

Torsten
Torsten 2015 年 7 月 8 日
You mean
[People_sort,I]=sort(People);
Time_cumsum=cumsum(Time(I));
?
Best wishes
Torsten.
  1 件のコメント
yashvin
yashvin 2015 年 7 月 8 日
Exactly thanks. Then
plot(Time_cumsum,People_sort)
Thanks!

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by