Lets say I have a matrix A=rand(31,51). How can I extract its elements from its center (say row = 15, column = 26) in circular manner. I want to have a matrix that displays only those elements of 'A' which are inside a circle with its center at A(15,26). Radius of circle can be any number say 5 cells from A(31,51).(adsbygoogle = window.adsbygoogle || []).push({});

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# How do I extract elements of a random matrix masked by a circle with its center at A(15,26)

Tags:

Have something to add?

Draft saved
Draft deleted

Loading...

Similar Threads - extract elements random | Date |
---|---|

Matlab How to extract data from existing JPEG/TiFF graph? | Oct 27, 2016 |

Mathlab code to extract T1 values in MR images | Dec 20, 2015 |

Extracting multiple data in a MATLAB matrix | Sep 23, 2014 |

Mathematica maximize element extraction from list | Jan 22, 2012 |

Extracting certain elements of a string (Matlab) | Jan 31, 2008 |

**Physics Forums - The Fusion of Science and Community**