Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
values less than 1000

Subject: values less than 1000

From: ravi

Date: 27 May, 2010 23:21:22

Message: 1 of 4

Hi,

I have a matrix 's' as follows:


s =

        194
        156
         146
       1036
       1008
        960
       
I would like to get all values less than 1000.

Can anyone help me out.

thanks
ravi

Subject: values less than 1000

From: Walter Roberson

Date: 27 May, 2010 23:41:08

Message: 2 of 4

ravi wrote:

> I have a matrix 's' as follows:
>
>
> s =
>
> 194
> 156
> 146
> 1036
> 1008
> 960
> I would like to get all values less than 1000.

s(s<1000)

Subject: values less than 1000

From: Matt Fig

Date: 27 May, 2010 23:45:23

Message: 3 of 4

LT1000 = S(S<1000)

Subject: values less than 1000

From: ravi

Date: 28 May, 2010 03:18:04

Message: 4 of 4

"Matt Fig" <spamanon@yahoo.com> wrote in message <htn06j$4vd$1@fred.mathworks.com>...
> LT1000 = S(S<1000)



Thanks matt and Walter

ravi

Tags for this Thread

No tags are associated with this thread.

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.

Contact us