MATLAB: Help for creating a window

pixelswindows

good day how do i create a window of size (80 *80) in matlab without using imfreehand? please can anybody help..I need it for finding a mean intensity value

Best Answer

rectangle('Position',[x,y,w,h])
draws the rectangle from the point x,y and having a width of w and a height of h.
Related Question