Building Sparse Matrix with Integer Errors
显示 更早的评论
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 个评论
John D'Errico
2019-10-24
To avoid your next error, spdiags is spelt spdiags, not spdiangs.
EB
2019-10-24
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Sparse Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!