Question about creating matrices.

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by