powered by
Creates a matrix with TRUE values shaping a centered disk
create_disk(width = 5)
A matrix with 1 for pixels inside the disk, 0 outside
numeric. disk width in pixels, should be an uneven number
create_disk(7)
Run the code above in your browser using DataLab