Help with creating artificial image

1 回表示 (過去 30 日間)
Jason
Jason 2018 年 3 月 27 日
コメント済み: Jason 2018 年 3 月 27 日
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 日
imresize(triu(ones(30, 60)), [300, 60], 'nearest')
is probably the simplest
  1 件のコメント
Jason
Jason 2018 年 3 月 27 日
Thankyou

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by