Hello.
I want to create an artificial "slanted" image and currently use excel to enter a series of 0's and 1's.
the example in the image is what I want to try and achieve in Matlab however, I want the following parameters:
w = 60
step = 10
H = 300

 채택된 답변

Guillaume
Guillaume 2018년 3월 27일

0 개 추천

imresize(triu(ones(30, 60)), [300, 60], 'nearest')
is probably the simplest

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

질문:

2018년 3월 27일

댓글:

2018년 3월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by