MATLAB Onramp: 8.1 Obtaining help
Ältere Kommentare anzeigen
Hi folks!
I just started exploring MATLAB and I am stuck at the following place. In the course "MATLAB Onramp" which is one of the 'Getting Started' courses, I am not able to get the solution of '8. Obtaining help - Further Practice'. The task is to create a matrix that
- Contains random integers in the range from 1 to 20,
- Has 5 rows, and
- Has 7 columns.
matrix with normally distributed numbers (instead of uniformly distributed numbers).
Please help on this one.
Thanks in advance!
-J
Akzeptierte Antwort
Weitere Antworten (3)
Yillak Gedamu
am 28 Mär. 2022
2 Stimmen
x = randi(20,5,7)
Abubakr Eltayeb
am 14 Aug. 2020
1 Stimme
x = randn([5 7])
Anand Gopal
am 19 Jan. 2021
1 Stimme
x = randi([1,20],5,7)
Kategorien
Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
