Find the mode of the vector
Assumption: no vector is bimodal
Example 1: input=[1 2 3 4 4]; output=4
Example 2: input=[7 1 2 7]; output=7
I never know that a funtion call "mode" actually do exist!:lol
It dseon't mettar waht oedrr the lrettes in a wrod are.
493 Solvers
We love vectorized solutions. Problem 1 : remove the row average.
381 Solvers
247 Solvers
341 Solvers
Matlab Basics II - Create a vector with a repeated entry
137 Solvers