How to visualize certain matrix entries?

Suppose I have some matrix, for example:
x1 = random('Normal',0,1,10,20)
Is there a way to create a matrix or table or figure containing the entries of x1, where the three highest values of each row are highlighted (for instance in red color)?
Thanks!

Answers (0)

This question is closed.

Asked:

on 16 Sep 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!