Azzera filtri
Azzera filtri

Question about creating matrices.

1 visualizzazione (ultimi 30 giorni)
piggy_jes
piggy_jes il 2 Feb 2015
Risposto: Image Analyst il 2 Feb 2015
How can I randomly create two non-diagonal matrices that are similar ?
  1 Commento
Star Strider
Star Strider il 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’?

Accedi per commentare.

Risposte (1)

Image Analyst
Image Analyst il 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.

Community Treasure Hunt

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

Start Hunting!

Translated by