how can i extract circular data from matrix?

11 views (last 30 days)
Hi,
I have axb double data, and I want to extract circular nxn data.
For example, as you can see in the jpg file I attached,
If there is data A (9x9 double),
I assign center as A(5,5) (orange), and diameter r=3,
then I want to extract 7x7 double data from A that I mark as green.
Thanks to all!

Accepted Answer

madhan ravi
madhan ravi on 22 Aug 2018
Edited: madhan ravi on 22 Aug 2018

More Answers (0)

Categories

Find more on Data Type Conversion 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!