How can i select randomly Boolean number from a array ?
이전 댓글 표시
A= 0 0 1 1 0 1
0 0 0 1 1 1
1 0 0 1 0 1
1 1 1 0 1 1
0 1 0 1 0 0
1 1 1 1 0 0
for example how can i select randomly a 1 from a row or a column? as Aij=Aji equal no problem select from row or column
채택된 답변
추가 답변 (1개)
Image Analyst
2013년 2월 4일
0 개 추천
What are you looking for? You know you'll get a 1 - that's a given. So, if you specify the column, do you want the row number? And if you specify a row, do you want the column number?
카테고리
도움말 센터 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!