Need code for generalized square Matrix formulation of the type given below

12 visualizzazioni (ultimi 30 giorni)
I need help in forming a generalized square matrix of any size with upper triangular = lower trigangular and diagonal elements as '0'
example for 3x3 matrix as follows
A= [ 0 beta beta/gama; beta 0 alfa*beta; beta/gama alfa*beta 0]
Please him me in getting code for generalized sqaure matrix of above form

Risposte (1)

Walter Roberson
Walter Roberson il 11 Feb 2019
You can create that with squareform()

Categorie

Scopri di più su Operating on Diagonal Matrices in Help Center e File Exchange

Tag

Prodotti


Release

R2014a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by