# MATLAB-like \`unique\` where you can recreate the original with indices

**URL:** <https://discourse.julialang.org/t/matlab-like-unique-where-you-can-recreate-the-original-with-indices/77968>\
**Category:** General Usage\
**Tags:** question, matlab, data, arrays\
**Created:** [March 16, 2022, 1:05pm UTC](https://discourse.julialang.org/t/matlab-like-unique-where-you-can-recreate-the-original-with-indices/77968 "2022-03-16T13:05:23Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![t-bltg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/t-bltg/32/25526_2.png) [@t-bltg](https://discourse.julialang.org/u/t-bltg)\
**Post date:** [December 8, 2023, 8:05pm UTC](https://discourse.julialang.org/t/matlab-like-unique-where-you-can-recreate-the-original-with-indices/77968/9 "2023-12-08T20:05:30Z")

</div>

I’ve posted a pure julia implementation in [Unique (indices) method similar to MATLAB - #7 by t-bltg](https://discourse.julialang.org/t/unique-indices-method-similar-to-matlab/34446/7).

---

_[View the full topic](https://discourse.julialang.org/t/matlab-like-unique-where-you-can-recreate-the-original-with-indices/77968)._
