How to produce 1 and -1 in MATLAB
조회 수: 4 (최근 30일)
이전 댓글 표시
Hello all, I want to generate 2000 numbers out of which 50% times it should be +1 and for remaining 1000 it should be -1.
Any help in this regard will be highly appreciated.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!