Path: news.mathworks.com!not-for-mail
From: "ade77 " <ade100a@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: matrix operations in F2
Date: Sat, 7 Nov 2009 14:05:18 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 6
Message-ID: <hd3uqu$ru1$1@fred.mathworks.com>
References: <hd3o8e$h25$1@fred.mathworks.com>
Reply-To: "ade77 " <ade100a@gmail.com>
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 1257602718 28609 172.30.248.38 (7 Nov 2009 14:05:18 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 7 Nov 2009 14:05:18 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1059495
Xref: news.mathworks.com comp.soft-sys.matlab:583215



> I want to solve an equation of the form Ax=b, where A is an nxn square matrix, and x and b are nx1 column vectors. Ofcourse, this can normally be done using x=b/A. However, the matrices for A that I have are singular, therefore there is no solution. In my case, there are solutions because I'm working in F2. This means that there are only ones and zeros to be concerned, and 1+1=0, 0-1=1. This way, the equation can be solved. Is there a way in MATLAB to take this into account and let MATLAB solve anyway?
> 
> Joren

type doc pinv or help pinv