テーブルの日時が重複する行を削除したい
26 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
こんにちは。
添付のsampleの5列目にタイムスタンプ(timestamp_JST)があり、これが重複している行を削除したいのですが上手くいきません。
良い方法をご存知の方がいらっしゃいましたらご教示ください。
0 commentaires
Réponse acceptée
Atsushi Ueno
le 1 Sep 2021
load('sample1.mat');
[~,ia] = unique(sample1.timestamp_JST,'stable');
B = sample1(ia,:)
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!