I have array below array 'A'
A = [9 2 9 5 6 40000];
if I use tilde (~) in below way then it gives me different output but I'm not able to understand what operation it performs.
case 1:
[~, C] = unique(A)
output:
2
4
5
1
6
case 2:
[~, ~, C] = unique(A)
output:
4
1
4
2
3
5
my question is what kind of operations "~" operator is performing on an array?