detect row and column

how to know value for minimum and maximum of row and column

 채택된 답변

Wayne King
Wayne King 2012년 3월 20일

0 개 추천

X = randn(10,5);
min(X,[],1)
min(X,[],2)
max(X,[],1)
max(X,[],2)

댓글 수: 1

Wayne King
Wayne King 2012년 3월 20일
As the cyclist says, these syntaxes are documented

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

the cyclist
the cyclist 2012년 3월 20일

0 개 추천

Use the min() and max() functions.
More details available by reading "doc min" and "doc max".

질문:

2012년 3월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by