Finding max value from one dimensional matrix

1 visualizzazione (ultimi 30 giorni)
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]

Risposta accettata

David Hill
David Hill il 23 Ott 2019
max(A(5:end));

Più risposte (0)

Categorie

Scopri di più su Data Types in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by