|Code Listing by Avinash Rude|
....where, 'string' is an input string containing alphabet or numbers.
Note: This function is different from the Matlab function called 'unique' because it keeps the order in which letters occur in the string.
Input string = 'abc,abc,abc,dcf,dcf,ef'.
output string ='3abc,2dcf,1ef'
Input string = 'xyzr,abdc,abdc,haha,haha'.
output string ='1xyzr,2abdc,2haha'
If x=[1 2 3 NaN 5]
Result: [1 2 3 5]
All files and free downloads are copyright of their respective owners. We do not provide any hacked, cracked, illegal, pirated version of scripts, codes, components downloads. All files are downloaded from the publishers website, our file servers or download mirrors. Always Virus check files downloaded from the web specially zip, rar, exe, trial, full versions etc. Download links from rapidshare, depositfiles, megaupload etc not published.