How can I delete two or more elements in a vector?
    2 ビュー (過去 30 日間)
  
       古いコメントを表示
    
採用された回答
  Stephen23
      
      
 2020 年 1 月 11 日
        >> A = [1,1,2,3,10,7,10,1,5,3];
>> U = unique(A);
>> Z = U(histc(A,U)==1)
Z =
   2   5   7
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

