フィルターのクリア

How to append ones or zeros

4 ビュー (過去 30 日間)
Prashant Funde
Prashant Funde 2017 年 2 月 1 日
回答済み: KSSV 2017 年 2 月 1 日
I have array of 527 and 532 bits. I want to do some processing on bits but for that processing it is mandatory that array have elements in the multiple of 530 or 535. How can i append those necessary bits in MATLAB code.

回答 (1 件)

KSSV
KSSV 2017 年 2 月 1 日
A = rand(527,1) ;
N = 530 ; % 535
iwant = [A ; zeros(N-length(A),1)] ;

カテゴリ

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