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!