Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Find the most frequently occurring element in a row

I have a vector of 5 mat objects each of size 60 x 1. I need to return a single 60 x 1 matrix where each value in a row corresponds to the most frequently occurring value in the corresponding row in the 5 matrices. How should I do this?