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

1 回表示 (過去 30 日間)
sarath yadav
sarath yadav 2019 年 2 月 11 日
回答済み: Walter Roberson 2019 年 2 月 11 日
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

回答 (1 件)

Walter Roberson
Walter Roberson 2019 年 2 月 11 日
You can create that with squareform()

カテゴリ

Help Center および File ExchangeOperating on Diagonal Matrices についてさらに検索

タグ

製品


リリース

R2014a

Community Treasure Hunt

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

Start Hunting!

Translated by