maxMinC.zip

버전 1.2.0.0 (762 Bytes) 작성자: Valerio Biscione
find the largest (or smallest) element in any cell array, nested or not
다운로드 수: 192
업데이트 날짜: 2014/5/6

라이선스 보기

%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.

인용 양식

Valerio Biscione (2025). maxMinC.zip (https://kr.mathworks.com/matlabcentral/fileexchange/46467-maxminc-zip), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2014a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Data Types에 대해 자세히 알아보기
도움

도움 준 파일: Quantile Probability Plot

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.2.0.0

little mistake in the description, max(a) instead of maxC(a)

1.1.0.0

grammar

1.0.0.0