Question about creating matrices.
1 view (last 30 days)
Show older comments
How can I randomly create two non-diagonal matrices that are similar ?
1 Comment
Star Strider
on 2 Feb 2015
What do you mean by ‘non-diagonal matrices’? What do you want them to be (dimensions, content, datatype)?
What do you mean by ‘similar’?
Answers (1)
Image Analyst
on 2 Feb 2015
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 Comments
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!