Eliminate duplicate values in a row!

1 次查看(过去 30 天)
>> A
A =
2 3 5 6 6 9 9 11 12 16
I want eliminate duplicate values in A so that A should be
>>A
A=
2 3 5 6 9 11 12 16
How to do this in single line?

采纳的回答

Lucas García
Lucas García 2011-9-12

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Numeric Types 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by