Functions which Return Indices of a Region
Show older comments
Is there a function in MATLAB that takes as input: a matrix, 'X', an index, 'Y', and a scale 'S', and returns a matrix of indices, 'D', corresponding to a square in 'X', with center 'Y', and length equivalent to twice the scale, 'S'?

EDIT: Added the figure for illustration
Accepted Answer
More Answers (0)
Categories
Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!