Path: news.mathworks.com!newsfeed-00.mathworks.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Scott Seidman <namdiesttocs@mindspring.com>
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@130.133.1.4>
References: <fb5j2h$2n2$1@fred.mathworks.com>
X-Trace: individual.net ppmE450LkuQd1ElZgDpTUwlM6Gr367Lx340k4fo4PXrGbT22Q=
Cancel-Lock: sha1:GRmQgJsYMbhh+d7X/lBuxYDqhpI=
User-Agent: Xnews/5.04.25
Xref: news.mathworks.com comp.soft-sys.matlab:426342


"Ender " <jr147@msstate.edu> wrote in news:fb5j2h$2n2$1@fred.mathworks.com:

> 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.


-- 
Scott
Reverse name to reply