Creating random non-discrete values and assigning weights
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Tanvir ALLIDINA
el 31 de Mzo. de 2021
Hello ,
I want to create a random set of numbers from 0-90, these numbers need to include non-discrete values eg 20.5 etc.
once these values are selected I want create weights for each as shown below:
[0-10]= 0.05
[11-20]= 0.1
[21-30]= 0.1
[31-40]= 0.25
[41-50]= 0.2
[51-60]= 0.1
[61-70]= 0.1
[71-80] = 0.05
[81-90]= 0.05
any help would be greatly appreciated
1 comentario
Respuesta aceptada
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!