How do I write a sparse matrix in MATLAB
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/461575/image.png)
2 Kommentare
Antworten (2)
Daniel Pollard
am 15 Dez. 2020
Bearbeitet: Daniel Pollard
am 15 Dez. 2020
https://uk.mathworks.com/help/matlab/ref/full.html
4 Kommentare
Jan
am 16 Dez. 2020
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
am 15 Dez. 2020
You want to convert a sparse matrix into a full one? Then use the command: full().
0 Kommentare
Siehe auch
Kategorien
Mehr zu Sparse Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!