How do i create a 1D array that has 100 rows, 100 columns and 3 layers?

4 ビュー (過去 30 日間)
Mohammed
Mohammed 2016 年 9 月 6 日
回答済み: KSSV 2016 年 9 月 6 日
i am a biginner in MATLAB. i want to know how can i create a 1D array with three elements:100 rows,100 columns and 3 layers?
Thanks :)

採用された回答

KSSV
KSSV 2016 年 9 月 6 日
It will be 3D matrix not an array... You can make the above said dimensions matrix using:
rows = 100 ;
columns = 100 ;
layers = 3 ;
data = rand(rows,columns,layers) ;
An array would be simply a row matrix/vector or a column matrix/ vector.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrices and Arrays についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by