Create matrix of maximum values from cell array

3 views (last 30 days)
If I have a 1x73 cell array consisting of 1x60 doubles, FR, how can I create a 1x73 matrix consisting of the maximum values of each cell in FR?

Accepted Answer

Rik
Rik on 4 Jun 2020
cellfun(@max,FR)

More Answers (0)

Categories

Find more on Creating and Concatenating Matrices 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!