Path: news.mathworks.com!not-for-mail
From: "Bruno Luong" <b.luong@fogale.findmycountry>
Newsgroups: comp.soft-sys.matlab
Subject: Re: linear equation with restrictions
Date: Fri, 1 Aug 2008 08:57:02 +0000 (UTC)
Organization: FOGALE nanotech
Lines: 26
Message-ID: <g6uj4u$n2m$1@fred.mathworks.com>
References: <g5sgla$b7r$1@fred.mathworks.com> <g5sjfa$fbg$1@fred.mathworks.com> <g5td8a$s9q$1@fred.mathworks.com> <g5tep3$g7r$1@fred.mathworks.com> <g5thqi$h7d$1@fred.mathworks.com> <g5tj02$rj4$1@fred.mathworks.com> <g5tleq$siu$1@fred.mathworks.com> <g5ujb2$7c1$1@fred.mathworks.com> <g5v5rm$iav$1@fred.mathworks.com> <g60239$srl$1@fred.mathworks.com> <g62uv6$r2k$1@fred.mathworks.com> <g68au9$b8u$1@fred.mathworks.com> <g6iaid$rrr$1@fred.mathworks.com> <g6ic71$jqt$1@fred.mathworks.com> <g6l6lu$40r$1@fred.mathworks.com> <g6l7nl$hpr$1@fred.mathworks.com> <g6lh5j$laa$1@fred.mathworks.com> <g6qj0s$mut$1@fred.mathworks.com> <g6qm7f$5mc$1@fred.mathworks.com> <g6sgu6$f5s$1@fred.mathworks.com> <g6st08$o4i$1@fred.mathworks.com> <g6ubj2$6mb$1@fred.mathworks.com>
Reply-To: "Bruno Luong" <b.luong@fogale.findmycountry>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1217581022 23638 172.30.248.38 (1 Aug 2008 08:57:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 1 Aug 2008 08:57:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 390839
Xref: news.mathworks.com comp.soft-sys.matlab:483036


"Leon galushko" <leonid.galushko@rwth-aachen.de> wrote in
message <g6ubj2$6mb$1@fred.mathworks.com>...

> 
> Sorry for pestering you with that but i'm unclear
> where would [a*cm1 = b-sum(a) and c=cm1+1] be belonging?
> If this refers to MainProg in m-file, thenn to what 
> syntax sequence have to be that

I let it to you to figure it out Leon.

> (i thought just you know your
> own code anyway better than me bein unexperienced in MathLab).
>

I'm sure you can do it on your own. Don't be hesitate to
play with the code.

Start with simple example, for example:

a = [770 105];
b = 4830;

There is three solutions c>=0, But only two c>0.

Bruno