Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Removing duplicates

Subject: Removing duplicates

From: Jerry

Date: 27 Aug, 2012 13:10:21

Message: 1 of 1

Hi,

The "t" is a 4x9 cell (see below)

Class_1| CD| AB| PQ| AF| MAP1| MASS| CALA|
Class_2| AB| PQ| AF| MAP1| MASS| TXHU| MAP3| BCVA|
Class_3| CD| AB| PQ| AF| MAP1|
Class_4| NO| AB| GRE| MCAD|

I would like to remove duplicates from "t"

Class_1| CD| AB| PQ| AF| MAP1| MASS| CALA|
Class_2| TXHU| MAP3| BCVA|
Class_3|
Class_4| NO| GRE| MCAD|
 
and then reshape the data in this way:

Class_1| CD| AB| PQ| AF| MAP1| MASS| CALA|
Class_2| TXHU| MAP3| BCVA|
Class_4| NO| GRE| MCAD|

Thanks,

Jerry

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us