From: Scott Seidman <>
Newsgroups: comp.soft-sys.matlab
Subject: Re: greater than or less than
Date: 30 Aug 2007 18:18:22 GMT
Organization: Your Company
Lines: 21
Message-ID: <Xns999C91877E5C7scottseidmanmindspri@>
References: <fb5j2h$2n2$>
X-Trace: ppmE450LkuQd1ElZgDpTUwlM6Gr367Lx340k4fo4PXrGbT22Q=
Cancel-Lock: sha1:GRmQgJsYMbhh+d7X/lBuxYDqhpI=
User-Agent: Xnews/5.04.25
Xref: comp.soft-sys.matlab:426342

"Ender " <> wrote in news:fb5j2h$2n2$

> I am writing a program that is going to plot a function. I 
> don't know the correct way to write a matlab function that 
> will: 10<=x<=1.2*y   (1)
> y=3.2
> Whenever I type in the code as is, MatLab wants me to 
> define x. I am going to put x in another function, ex 
> 2.7+x=t. I am going to plot x vs. t. I just don't know how 
> to tell MatLab to take values in between the range of the 
> above stated values in equation (1).

You should really read the Getting Started section.

Reverse name to reply