필터 지우기
필터 지우기

table remove repeated columns

조회 수: 3 (최근 30일)
Patrick Brown
Patrick Brown 2017년 3월 15일
답변: Niraj Sanghvi 2017년 3월 16일
I have a table call Values with two fields
Velocity Acceleration
________ ____________
10 30
10 20
20 20
10 30
30 50
and I want to remove the rows that are repeated with are row and therefore get this table
Velocity Acceleration
________ ____________
10 30
10 20
20 20
30 50
thanks!

답변 (1개)

Niraj Sanghvi
Niraj Sanghvi 2017년 3월 16일
I believe the unique function should work in this case:
uniqueValues = unique(Values);

카테고리

Help CenterFile Exchange에서 Tables에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by