필터 지우기
필터 지우기

How do i find a maximum elements in a specific row ?

조회 수: 1 (최근 30일)
David
David 2020년 2월 9일
답변: Chuguang Pan 2020년 2월 9일
I want to find a maximum elements in a second row of this 3x3 matrix?
[1,2,3;4,5,6;7,8,9]

채택된 답변

Chuguang Pan
Chuguang Pan 2020년 2월 9일
A=[1,2,3;4,5,6;7,8,9];
M=max(A(2,:))

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by