How can I create this simple matrix?

1 view (last 30 days)
DNdog =
108
108
107
107
23
23
y = 108 %How do I get the above matrix to this state?
107
23

Accepted Answer

Thorsten
Thorsten on 13 Apr 2017
Using
unique
  4 Comments

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!