how to randomly select an element from an array having the least probability in matlab

Illustration
panilkumariitb - 2020-04-16T11:43:24+00:00
Question: how to randomly select an element from an array having the least probability in matlab

how to randomly select an element from an array having the least probability in matlab example : A = [ 1,2,3,4,5,6] P = [ 0.01,0.2,0.25.0.2,0.25,0.09] % probability %

Expert Answer

Profile picture of Kshitij Singh Kshitij Singh answered . 2025-11-20


Not satisfied with the answer ?? ASK NOW

Get a Free Consultation or a Sample Assignment Review!