find probability of some data
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have some data in simulink, I want to know what is the probability of these data to be less than some determined constant number?
is there any function or way in matlab to find it?
0 comentarios
Respuestas (1)
the cyclist
el 7 de Jun. de 2023
data = [2 3 5 7 11 13 17];
constant = 6;
probabilityDataLessThanConstant = mean(data<constant)
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!