cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Unique Function

SLS
1-Newbie
1-Newbie

Unique Function

I need to recall the unique numbers for an array or vector to remove repeat/dupliate values. This can be easily done using the Excel's unique function. Is there a function in Mathcad or a simple program line to accomplish this?

SLS

1 ACCEPTED SOLUTION

Accepted Solutions
MikeArmstrong
5-Regular Member
(To:SLS)

Something like the attached?

Mike

View solution in original post

5 REPLIES 5
AlvaroDíaz
9-Granite
(To:SLS)

Try the Stuart's set function. I adopt it in http://communities.ptc.com/servlet/JiveServlet/download/91267-12172/set.mcd

Can see also http://communities.ptc.com/message/91270#91270, between others post.

Regards. Alvaro.

MikeArmstrong
5-Regular Member
(To:SLS)

Something like the attached?

Mike

jeanGiraud
1-Newbie
(To:SLS)

1.The rotate(n,v) added for its great utility.

2. Drop(V) w/o match applied after rotate(n,v)

jmG

RichardJ
19-Tanzanite
(To:SLS)

Here's another one, that works for matrices as well as vectrors

SLS
1-Newbie
1-Newbie
(To:RichardJ)

Thanks to all who replyed. The examples are excellent and my was question answered.

SLS

Top Tags