Skip to main content
1-Visitor
November 28, 2010
Question

Duplicate Function

  • November 28, 2010
  • 1 reply
  • 4370 views

In respect of a query raised in the Prime number thread, I have decided to create a new one due to the question being slightly off topic.

The following function accepts a vector and returns a two column nested array, one column indicating the duplicate values and the other indicating none duplicate values from the passed vector.

All comments welcome as I'm sure it can be programmed much more elegantly, but I have ran out of time.

Mike

1 reply

1-Visitor
November 28, 2010

I have noticed an error due to the rushing.

Additional function added.

Mike

1-Visitor
November 29, 2010
1-Visitor
November 29, 2010

Nice.

I do like the way different collabs attack different problems. Waiting for Richard and Stuart now .

Mike