When my loaded data is a 86x14 Matrix I would like to model it to be a 90x14 where the 4 newly added rows are all zeros.. Is this possible? Without tampering with the 86x14 data.
I just need to fill them up so that an error does not pop up when my other computations go on...

 採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 2 月 5 日
編集済み: Azzi Abdelmalek 2014 年 2 月 5 日

0 投票

A=rand(86,14) % Example
A(end+1:90,:)=0

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeData Type Identification についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by