Help with a problem in a Matrix

7 ビュー (過去 30 日間)
Andres  Romero
Andres Romero 2016 年 9 月 9 日
コメント済み: Andres Romero 2016 年 9 月 9 日
Is there is a function or way to do this :
A = [2015,10,07;2015,10,07;2014,11,08;2014,11,08;2013,09,08;2005,10,03;2005,10,03]
Using matrix A, obtain this matrix a:
a = [2015,10,07;2014,11,08;2013,09,08;,2005,10,03]
  2 件のコメント
Image Analyst
Image Analyst 2016 年 9 月 9 日
I'll fix it for you this time (the second time), but for the future, read this link http://www.mathworks.com/matlabcentral/answers/13205#answer_18099
Andres  Romero
Andres Romero 2016 年 9 月 9 日
thank you so much ....

サインインしてコメントする。

採用された回答

Image Analyst
Image Analyst 2016 年 9 月 9 日
Use unique(). It will be a good exercise for you to try to figure out how to call it to do what you want. You'll learn more than if we just hand over the answer. If you just can't do it, let us know.
  1 件のコメント
Andres  Romero
Andres Romero 2016 年 9 月 9 日
[C, ia, ic] = unique(A,'rows')
Thank you bro.... I use this and works... if someone else need it...

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by