diagonal
Returns a vector with the main diagonal of a matrix. Similar to the built-in function diag
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Cite As
Miguel D. B. (2026). diagonal (https://in.mathworks.com/matlabcentral/fileexchange/10324-diagonal), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0 (288 Bytes)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |