Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: matrix operations in F2
Date: Sat, 7 Nov 2009 12:13:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 5
Message-ID: <hd3o8e$h25$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1257595982 17477 172.30.248.35 (7 Nov 2009 12:13:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 7 Nov 2009 12:13:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2081595
Xref: news.mathworks.com comp.soft-sys.matlab:583207


Hi,

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