How to write a program to take mode of vector without using built in function 'mode'?
Show older comments
We are using Matlab. We cannot develop an algorithm and need very descriptive and specific steps as to how to solve our question.
3 Comments
Muthu Annamalai
on 13 Sep 2013
Smells like homework to me :-)
Matt Kindig
on 13 Sep 2013
Edited: Matt Kindig
on 13 Sep 2013
Can you use the built-in function hist()? If you can, this is trivially easy:
doc hist
Accepted Answer
More Answers (0)
Categories
Find more on Mathematics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!