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 Exchange에서 Data Type Identification에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by