How do I write a sparse matrix in MATLAB
3 ビュー (過去 30 日間)
古いコメントを表示
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/461575/image.png)
回答 (2 件)
Daniel Pollard
2020 年 12 月 15 日
編集済み: Daniel Pollard
2020 年 12 月 15 日
https://uk.mathworks.com/help/matlab/ref/full.html
4 件のコメント
Jan
2020 年 12 月 16 日
The first two inputs of sparse() are the size of the matrix. As the error message tells you, [2,-1,0] cannot be a valid size. See the documentation of sparse :
doc sparse
Jan
2020 年 12 月 15 日
You want to convert a sparse matrix into a full one? Then use the command: full().
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!