CreateBorder

To create a custom border around input data. (Useful for image/data padding)

Vous suivez désormais cette soumission

To create a custom border around input data.
... Function - CreateBorder(data_in, H_border, W_border, border_val)
... Creates a border defined by border size around data_in of value = border_val
... For eg -
... >> a = magic(4);
... >> % To create a [2x4] border of 0s around 'a'
... >> a = CreateBorder(a, 2, 4, 0);

Citation pour cette source

AA (2026). CreateBorder (https://fr.mathworks.com/matlabcentral/fileexchange/59371-createborder), MATLAB Central File Exchange. Extrait(e) le .

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0

.