From: Vikas Bajpai on
I have a two dimensional matrix and I want to store the matrix
elements greater than some value in a dynamic array and then plot the
histogram. please help me with the code.
From: Oleg Komarov on
Vikas Bajpai
> I have a two dimensional matrix and I want to store the matrix
> elements greater than some value in a dynamic array and then plot the
> histogram. please help me with the code.

What do you mean by dynamic array?
Also, any example of the inputs and the required outpust is much appreaciated.

Oleg
From: Vikas Bajpai on
On May 11, 1:23 pm, "Oleg Komarov"
<oleg.komarovRemove.t...(a)hotmail.it> wrote:
> Vikas Bajpai
>
> > I have a two dimensional matrix and I want to store the matrix
> > elements greater than some value in a dynamic array and then plot the
> > histogram. please help me with the code.
>
> What do you mean by dynamic array?
> Also, any example of the inputs and the required outpust is much appreaciated.
>
> Oleg

dynamic array means that the size of array is not fixed
From: Oleg Komarov on
Vikas Bajpai
> On May 11, 1:23 pm,
> > Vikas Bajpai
> >
> > > I have a two dimensional matrix and I want to store the matrix
> > > elements greater than some value in a dynamic array and then plot the
> > > histogram. please help me with the code.
> >
> > What do you mean by dynamic array?
> > Also, any example of the inputs and the required outpust is much appreaciated.
> >
> > Oleg
>
> dynamic array means that the size of array is not fixed

Then:
A = rand(10)*10;

B = A(A > 5);

help hist

Oleg