1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Matlab - Banded Matrix

  1. Mar 3, 2013 #1
    28eC1QV.png

    I'm trying to make a banded matrix in matlab like the one in my picture.

    I'm trying to use the spdiags function but i'm not going even close to getting the same matrix.

    I have tried the help in Matlab but have had no luck yet.

    How can you tell the bandwidth is 7?
     
    Last edited: Mar 3, 2013
  2. jcsd
  3. Mar 11, 2013 #2

    DrClaude

    User Avatar

    Staff: Mentor

    Can you explain in more details what you have tried?

    And the bandwith here is 5.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: Matlab - Banded Matrix
  1. MATLAB building matrix (Replies: 8)

Loading...