diagUp

DiagUp works the same way as Diag except the placed elements are extracted from or go into an upward slope.
0 Downloads
Updated 4 Aug 2022

View License

DiagUp works the same way as Diag except the placed elements are extracted from or go onto an upward slope. A vector as the first parameter produces a zero matrix with the vector superimposed. A matrix as the first parameter produces a vertical vector sampling from lower left to upper right. The optional second parameter raises (or lowers if negative) which diagonal, relative to the long diagonal.

Cite As

Charles Kluepfel (2026). diagUp (https://www.mathworks.com/matlabcentral/fileexchange/115870-diagup), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0