Remove duplicates in first 2 dimension in a matrix, matlab?

That can be easily and efficiently done with accumarray.

Scan your first 2 rows and insert the elements into a max-heap. While inserting, you can check on the fly if the element already exists (don't insert it into the heap in this case). If it exists, compare it with current maximum and set as maximum if needed.

The final maximum is the result you seek.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions