Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Tridiagonal matrix solution,when inputs are three dimensional array

Status
Not open for further replies.

ghasem_008

Full Member level 4
Full Member level 4
Joined
Feb 9, 2012
Messages
221
Helped
11
Reputation
22
Reaction score
10
Trophy points
1,298
Visit site
Activity points
2,990
hi.
I want to solve a tridiagonal equation system.as you know,form of a tridiagonal equation system is:
a(k)*x(k-1)+b(k)*x(k)+c(i)*x(k+1)=d(k)
that a,b,c are vectors (one dimensioal arrays).for example: a = [1 2 3 4 5]

but I have "three dimensional arrays" in input.i,e I have a(i,j,k),b(i,j,k),c(i,j,k),that I have to slove above tridiagonal matrix when k=i or j or k.
for example,when k=i (i=1:nx),index "j" and "k" have a loop for (j=1:ny, k=1:nz).
in fact,I want to slove tridiagonal matrix in 3D-ADI-FDTD.
can anyone help me?How should I act?
please give me a solution or instruction or algorithm in MATLAB?
best wishes...
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top