Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


Math Forum
»
Discussions
»
Software
»
comp.softsys.matlab
Notice: We are no longer accepting new posts, but the forums will continue to be readable.
Topic:
Finding Multiple Integers (A Repost, more clearly stated)
Replies:
2
Last Post:
Jun 26, 1996 3:42 AM




Finding Multiple Integers (A Repost, more clearly stated)
Posted:
Jun 21, 1996 10:22 AM


I know realize that I was not clear with what I wanted to do in my first message (Help on finding multiple integers in a vector)
I have a vector of length (~50) full of integers! I would like to search the vector and find out how many integers (ranging from 1 to 150) occur more than 3 times!
For example
X=[1 2 3 6 8 9 9 1 9 2 1]
I would like to know that 2 integers occurred 3 times!
I am hoping to escape the for loop but if not possible I would like as simple a for loop as possible!
Sorry for the confusion, Any help would be greatly appreciated!
Julie Wiejaczka wiejaczk@spot.colorado.edu



