Clear Filters
Clear Filters

Plot the Diagram of the probability of some data

2 views (last 30 days)
Hi,
I have some data in matlab, How can I plot the best probability diagram which is attributed to this data?
  1 Comment
the cyclist
the cyclist on 15 Jun 2023
You have not given us enough information to help you. Do you mean a histogram? A probability distribution function? Do you want to assume some distribution (e.g. normal) that you want to fit the data to?
Please describe what you want to do, with much more detail.
It might help you to look at the MATLAB Plot Gallery to figure out what style of plot you need.

Sign in to comment.

Answers (1)

Torsten
Torsten on 15 Jun 2023
Edited: Torsten on 15 Jun 2023
I don't know what exactly you mean by "Probability Diagram", but the usual way is to use
histogram(data,'Normalization','pdf')

Products


Release

R2016b

Community Treasure Hunt

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

Start Hunting!