How to create vector or array using rand command in MATLAB #shorts

preview_player
Показать описание
There are different methods for creating vectors or arrays in the Matlab programming language. One of them is the rand command, which has two arguments m and n. Where, m = number of rows, and n = numbers of columns.

For creating row vector, m = 1, and n = number of columns you want for the vector
For creating column vector, m = number of rows you want for the vector, and n = 1

For learning more about Matlab Subscribe to my YouTube Channel.

Thanks for watching :-)
Рекомендации по теме