Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Finding Multiple Integers (A Repost, more clearly stated)
Replies: 2   Last Post: Jun 26, 1996 3:42 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
WIEJACZKA JULIE A

Posts: 4
Registered: 12/7/04
Finding Multiple Integers (A Repost, more clearly stated)
Posted: Jun 21, 1996 10:22 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.