フィルターのクリア

How to fill a matrix with ones

2 ビュー (過去 30 日間)
Hinde essmahi BOUZIANE
Hinde essmahi BOUZIANE 2019 年 7 月 23 日
編集済み: madhan ravi 2019 年 7 月 23 日
I have two matrix A=109*26 and B=1600*26.
I want to fill A with ones to reach 1600*26.

採用された回答

madhan ravi
madhan ravi 2019 年 7 月 23 日
編集済み: madhan ravi 2019 年 7 月 23 日
A =[A; ones(1600-109,26)]; % size(A)

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by