Creating Matrix between two values
10 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
How can I creating 2x6 matrix using matrix operations? Elements of the matrix will be random numbers between 10 and 90.
0 Commenti
Risposte (1)
Mohammad Sami
il 30 Dic 2019
If I understood correctly, you can use the function randi to generate a matrix of integers for any specified size.
randi([10 90],2,6)
2 Commenti
Vedere anche
Categorie
Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!