Random Binary Matrix With Specified Probability Constrained To Have Ones On The Main Diagonal

버전 1.0.0.0 (4.76 KB) 작성자: Star Strider
Creates a square (0,1) random matrix with 1s on the main diagonal, and specified probability of 1s.
다운로드 수: 62
업데이트 날짜: 2016/1/22

라이선스 보기

‘RandBinMtxDiag’ creates a square (NrRows x NrRows) binary (0,1) random matrix constrained by having ones on the main diagonal, with a total probability (‘Prob’) of ones, including the ones on the main diagonal. It was created in response to a question on MATLAB Answers, so I decided to contribute it here in the event that others could use it. It was created with R2015b, but should work with most previous releases.

인용 양식

Star Strider (2024). Random Binary Matrix With Specified Probability Constrained To Have Ones On The Main Diagonal (https://www.mathworks.com/matlabcentral/fileexchange/55044-random-binary-matrix-with-specified-probability-constrained-to-have-ones-on-the-main-diagonal), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2015b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Operating on Diagonal Matrices에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0