Re: problem in expression
- To: mathgroup at smc.vnet.net
- Subject: [mg99930] Re: problem in expression
- From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
- Date: Tue, 19 May 2009 06:48:04 -0400 (EDT)
- References: <gurckc$gri$1@smc.vnet.net>
The zeros are the result of using approximate numbers. You could try Chop to get rid of these little bastards. Cheers -- Sjoerd On May 18, 12:17 pm, "Obaid Ur Rehman" <Obaid.Reh... at student.adfa.edu.au> wrote: > I am wondering if some one can help me in the following problem. > > Whenever I solve or do some manipulation with certain matrix or vector, > it gives me result in the following form e.g. > > F=0.x1+0.x2+1.x3+0.x4 > > It is clear that F=x3 but why the expression contains multiples of > zeros. If certain vector is multiplied by zero the result should be zero > and it must not be appear in the final expression. > > Could you people please help me out to get rid of these zeros in the > final expression? > > Obaid