How to change a bit of matrix from 0 to 1
조회 수: 1 (최근 30일)
이전 댓글 표시
Dear members,
I have a matrix
and I have to write a program that verify if the final bits are '0' or '1'. If final bits are '0' the program change them to '1'.
댓글 수: 0
채택된 답변
David Hill
2021년 3월 12일
M(6:11:end)=1;%for your Matrix M
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!