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:
Defining sets

Subject: Defining sets

From: notther Agakay

Date: 6 Oct, 2010 20:25:23

Message: 1 of 2

Hi!
I am new with Matlab and cant find the solution of how to define a value set like as -1<x<1.
Can someone help me?

Subject: Defining sets

From: Sean

Date: 6 Oct, 2010 20:33:38

Message: 2 of 2

"notther Agakay" <egemenagakay@hotmail.com> wrote in message <i8ilvj$iio$1@fred.mathworks.com>...
> Hi!
> I am new with Matlab and cant find the solution of how to define a value set like as -1<x<1.
> Can someone help me?

-1:spacing:1 %where spacing is the interval

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