Question about creating matrices.
1 次查看(过去 30 天)
显示 更早的评论
How can I randomly create two non-diagonal matrices that are similar ?
1 个评论
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
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!