Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | ATOMS
File : Details
Login with GitLab

DiagonalMatrix

Returns the diagonal matrix from a square matrix.
(1400 downloads for this version - 1400 downloads for all versions)
Details
Version
1.0
Author
Marcos Pinto
Maintainer
Marcos Pinto
Category
License
Supported Scilab Version
5.4
Creation Date
March 13, 2014
Description
            It is a simple script to get the diagonal matrix from a square matrix.            
Files (1)
[275 bytes]
Miscellaneous file
Script to return the diagonal matrix from a square matrix.

Sintax: d = diagonal(A)

A -> square matrix.	  
News (0)
Comments (1)     Leave a comment 
Comment from Samuel Gougeon -- May 24, 2014, 01:39:33 AM    
Hello,
This feature is performed simply by the following: d = diag(diag(A))
Regards
Samuel
Leave a comment
You must register and log in before leaving a comment.
Login with GitLab
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.