Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
[nr nc] = BestArrayDims(n)
Given n elements, BestArrayDims returns the dimensions of an array in which to store them. The function also accepts user preferences as to whether they require less wasted space or a more square configuration.
I have found this function particularly well-suited for finding subplot dimensions if it is not known in advance the number of plots that will be needed.
Citation pour cette source
Zachary Danziger (2026). BestArrayDims (https://fr.mathworks.com/matlabcentral/fileexchange/30561-bestarraydims), MATLAB Central File Exchange. Extrait(e) le .
Remerciements
Inspiré par : numSubplots - neatly arrange subplots
Informations générales
- Version 1.0.0.0 (2,04 ko)
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 |
