How to make a diagonal divider of zeros and ones using Matlab?

前端 未结 2 1995
感动是毒
感动是毒 2020-12-07 05:45

This is the result that I want. The number of bits resolution are 256 x 256.

// assign default background to white.
img = ones(256, 256);
         


        
2条回答
提交回复
热议问题