Build a matrix with a gradual value of intensity and an horizontal line with a constant value
조회 수: 1 (최근 30일)
이전 댓글 표시
hi i need to buil a image using the matrx. i ma new to matlab can you help me with this.
댓글 수: 0
채택된 답변
Davide Masiello
2022년 11월 8일
A = repmat(linspace(0,1,1000),500,1);
A(220:280,:) = 0.5;
imshow(A)
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Convert Image Type에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!