Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
back-forward subsititution for a sparse complex matrix equation

Subject: back-forward subsititution for a sparse complex matrix equation

From: evan um

Date: 21 May, 2010 05:38:03

Message: 1 of 2

Hi all,

I am trying to implement back and forward substitution for a sparse complex matrix equation. Unfortunately, MATLAB does not have an internal routine for this job. cs_ltsolve and cs_lsolve of SuiteSparse do not seem to support sparse complex matriices. Could you suggest any other libraries to handle this problem?

In advance, thank you!

Evan

Subject: back-forward subsititution for a sparse complex matrix equation

From: Bruno Luong

Date: 21 May, 2010 06:14:06

Message: 2 of 2

"evan um" <evanum@gmail.com> wrote in message <ht567r$jt7$1@fred.mathworks.com>...
> Hi all,
>
> I am trying to implement back and forward substitution for a sparse complex matrix equation. Unfortunately, MATLAB does not have an internal routine for this job. cs_ltsolve and cs_lsolve of SuiteSparse do not seem to support sparse complex matriices. Could you suggest any other libraries to handle this problem?

Simply use

x = S\rhs

The MLDIVIDE will use forward/backward whenever S is lower/upper triangular. This is documented in the DOC.

Bruno

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us