Thread Subject: matirx

Subject: matirx

From: Vlado Mar

Date: 30 Sep, 2008 12:38:02

Message: 1 of 2

As a beginer with Matlab I have one probably very easy quesiton. I have a matrix and I have to find a lowest number greater then 0. Could anyone help?

Subject: matirx

From: Bruno Luong

Date: 30 Sep, 2008 13:03:02

Message: 2 of 2

"Vlado Mar" <marasv@verat.net> wrote in message <gbt6ja$ie5$1@fred.mathworks.com>...
> As a beginer with Matlab I have one probably very easy quesiton. I have a matrix and I have to find a lowest number greater then 0. Could anyone help?

A=randn(5)
min(A(A>0))

% Bruno

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
matrix Vlado Mar 30 Sep, 2008 08:40:06
rows Vlado Mar 30 Sep, 2008 08:40:06
rssFeed for this Thread

Contact us at files@mathworks.com