Building Sparse Matrix with Integer Errors
Show older comments
I am trying ot build a sparse matrix, but I keep receiving the error: Subscript indices must either be real positive integers or logicals.
My eps are all real positive integers and my Phi_1 values are positive values to the smallest is 3*10^(-4). Does this not count?
2 Comments
John D'Errico
on 24 Oct 2019
To avoid your next error, spdiags is spelt spdiags, not spdiangs.
EB
on 24 Oct 2019
Accepted Answer
More Answers (0)
Categories
Find more on Sparse Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!