Question about creating matrices.

3 ビュー (過去 30 日間)
piggy_jes
piggy_jes 2015 年 2 月 2 日
回答済み: Image Analyst 2015 年 2 月 2 日
How can I randomly create two non-diagonal matrices that are similar ?
  1 件のコメント
Star Strider
Star Strider 2015 年 2 月 2 日
What do you mean by ‘non-diagonal matrices’? What do you want them to be (dimensions, content, datatype)?
What do you mean by ‘similar’?

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

回答 (1 件)

Image Analyst
Image Analyst 2015 年 2 月 2 日
I have no idea what you mean by this confusing, self-contradicting question, but you might look at the functions rand(), randn(), randi(), and randperm(). If you still need help after that, then read this link and give an example.

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by