Create Sparse Finite Difference Matrix without Loop
古いコメントを表示
In dealing with a finite difference problem over a 1-D domain composed of i nodes, I am trying to create a sparse matrix of elements H(2) to H(i-1) of the following form:

How can I do this without using a loop?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!