The Math Forum

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.soft-sys.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

Advanced Search

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

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
(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

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

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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.