diagUp
Version 1.0.0 (1.07 KB) by
Charles Kluepfel
DiagUp works the same way as Diag except the placed elements are extracted from or go into an upward slope.
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 (2024). 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 LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |