finding the max of the first x rows in a column vector

2 views (last 30 days)
i have a column vector with 100 rows. how can i find the maximum value of the first 50 rows?

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 18 Jan 2015
max(a(1:50))

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!