Extract values above another value in a matrix

25 views (last 30 days)
Hey
I have a matrix with 32304x1 value, and i want to know how to get values out of the matrix that have a certain amount of hight. To explain what i mean, here is an exemble:
\A=[2;3;8;9;5;4;7;7]
% than I want a command that can give me all the values above 5 as:
"Comand(A,5)=[7; 7; 8; 9]" If that maked any sense at all?

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 19 Nov 2014
Edited: Azzi Abdelmalek on 19 Nov 2014

More Answers (0)

Categories

Find more on Multidimensional Arrays 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!