https://uk.mathworks.com/matlabcentral/cody/problems/2585
How to reverse spdiags? - MATLAB Cody - MATLAB Central
how toreversematlabcodycentral
https://au.mathworks.com/matlabcentral/cody/problems/2585-how-to-reverse-spdiags
How to reverse spdiags? - MATLAB Cody - MATLAB Central
how toreversematlabcodycentral
https://au.mathworks.com/help/matlab/ref/spdiags.html
spdiags - Extract nonzero diagonals and create sparse band and diagonal matrices - MATLAB
This MATLAB function extracts the nonzero diagonals from m-by-n matrix A and returns them as the columns in min(m,n)-by-p matrix Bout, where p is the number of...
extractnonzerodiagonals