Finding max value from one dimensional matrix

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]

More Answers (0)

Categories

Tags

Asked:

on 23 Oct 2019

Answered:

on 23 Oct 2019

Community Treasure Hunt

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

Start Hunting!