isbanded
Determine if matrix is within specific bandwidth.
📝Syntax
tf = isbanded(A, lower, upper)
📥Input Arguments
Parameter Description
A Input matrix
lower, upper lower bandwidth: lower, and upper bandwidth: upper, of matrix A.
📤Output Arguments
Parameter Description
tf logical
📄Description

tf = isbanded(A, lower, upper) returns true if matrix A is within the specified lower bandwidth, lower, and upper bandwidth, upper.

💡Examples
M = [1 0 0 0 0; 2 1 0 0 0; 3 2 1 0 0]
TF = isbanded(M, 2, 0)
TF = isbanded(M, 2, 1)
🔗See Also
bandwidth
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub