Identify edge and corner element numbers

Identify the elements lying along edges and corners of a 2D (n x m) matrix
ダウンロード: 247
更新 2012/1/18

ライセンスの表示

With reference to the screenshot, the code extracts the element numbers of all points lying on:
1. elements lying between P and B, into the array "top"
2. elements lying between Q and D, into the array "right"
3. elements lying between R and F, into the array "bottom"
4. elements lying between S and H, into the array "left"
corners = [topleftelement toprightelement bottomrightelement bottomleftelement];

引用

sunil anandatheertha (2024). Identify edge and corner element numbers (https://www.mathworks.com/matlabcentral/fileexchange/34657-identify-edge-and-corner-element-numbers), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2010a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0