フィルターのクリア

random matrix full rank

2 ビュー (過去 30 日間)
massimiliano frasca
massimiliano frasca 2019 年 11 月 12 日
コメント済み: massimiliano frasca 2019 年 11 月 13 日
how can I generate a random matrix of this type (see photo) with the condition that it is full rank?
Cattura.PNG

採用された回答

Stijn Haenen
Stijn Haenen 2019 年 11 月 12 日
Hi,
Try this one:
T=6;
a=rand(T);
m=tril(a,-1);
matrix=m+m'+eye(T).*rand(T);
  1 件のコメント
massimiliano frasca
massimiliano frasca 2019 年 11 月 13 日
thanks a lot! now I should collect the element form z(0) to z(T-1) in an array.
for example, if T=5, V=[z(0) z(1) z(2) z(3) z(4)
How can I do this?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by