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: counting number of elements in matrix
Replies: 2   Last Post: Apr 5, 2013 2:09 AM

Advanced Search

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

Posts: 6,253
Registered: 2/7/05
Re: counting number of elements in matrix
Posted: Apr 5, 2013 12:08 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 4/4/2013 10:52 PM, radhika wrote:
> hi,
> i have matrix size 256*256. i need to find the occurance of each element in matrix and
>want to store it in array.
> for example ,In 2*2 matrix
> [0 1:2 1] output should be count(0) ,ccount(1),count(2) in array
> so [0 2 1]...
> please anyone help me

help hist

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

[Privacy Policy] [Terms of Use]

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