Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Solving a system of tirdiagonal matrices

  1. Sep 12, 2011 #1

    I am trying to solve a system consisting of tridigonal matrices and looks like this:

    v1(1,4) [itex]^{n+1}[/itex]= v1(1,4) [itex]^{n}[/itex] + [itex]\Delta[/itex]t* [ tridiagonal(4,4)*v1(1,4) + tridiagonal(4,4)*v2(1,4) ][itex]^{n}[/itex]

    v2(1,4) [itex]^{n+1}[/itex]= v2(1,4) [itex]^{n}[/itex] + [itex]\Delta[/itex]t* [ tridiagonal(4,4)*v2(1,4) + tridiagonal(4,4)*v1(1,4) ][itex]^{n}[/itex]

    when n is the time step number. [itex]\Delta[/itex]t is the time step. and x(1,4) means a matrix with 1 column and 4 rows.

    I have boundary conditions at t=0, v1 = v2 = 0. And at any other time v1(1) = 0 and v2(4) = 1.

    I have seen methods on solving tridiagonal matrices but been struggling to find one like this.. Please help!!!

  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted