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
%find the largest/smallest element among all the elements in a cell array. The cell array can have matrix or a cell array or any combination of these two. The functions use recursion.
%there is a maxC and a minC in the zip file.
%EXAMPLE
%f=@() randi(100) %just to type faster the following
%a={{{ [f() f(); f() f()]} {f()} [f() f() f()]}; [f() f() f()]};
%maxC(a)
%notice some difference with the normal max/min, even with simple matrix:
%a=[1 2 3; 4 5 6];
%max(a)
%ans= 4 5 6
%maxC(a)= 6, as expected.
Citation pour cette source
Valerio Biscione (2026). maxMinC.zip (https://fr.mathworks.com/matlabcentral/fileexchange/46467-maxminc-zip), MATLAB Central File Exchange. Extrait(e) le .
Remerciements
A inspiré : Quantile Probability Plot
Informations générales
- Version 1.2.0.0 (762 octets)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.2.0.0 | little mistake in the description, max(a) instead of maxC(a) |
||
| 1.1.0.0 | grammar |
||
| 1.0.0.0 |
