Finding max value from one dimensional matrix

2 Ansichten (letzte 30 Tage)
HABILA
HABILA am 23 Okt. 2019
Beantwortet: David Hill am 23 Okt. 2019
I have a 1x10 matrx. I need a maximum value of the matrix leaving first four locations.
For example A=[2 3 6 1 8 0 2 4 5 6]
I need max from [8 0 2 4 5 6]

Akzeptierte Antwort

David Hill
David Hill am 23 Okt. 2019
max(A(5:end));

Weitere Antworten (0)

Kategorien

Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by