concatenation of 2d matrix to form 3d matrix horizontally
1 回表示 (過去 30 日間)
古いコメントを表示
hi... can any one help me in concatenate the 2d matrix to form 3d matrix my sample code is input to the sample is
ofdm_symbol=randn(8,10,2)+(1j*randn(8,10,2));
time_domain_signal(i,:,:)=abs(ifft([ofdm_symbol(i,1:4,ii) zeros(N,(L-1)*N,1) ofdm_symbol(i,5:8,ii)]))
size(ofdm_symbol(i,1:4,ii)) = 1x4
size(ofdm_symbol(i,5:8,ii)) = 1x4
size(zeros(N,(L-1)*N,1))= 8x24
i am getting the error as
Error using horzcat
Dimensions of matrices being concatenated are not consistent.
Error in mimo_pts (line 60)
time_domain_signal(i,:,:)=abs(ifft([ofdm_symbol(i,1:4,ii) zeros(N,(L-1)*N,1) ofdm_symbol(i,5:8,ii)]));
how to debug this sample of this code i have tried all possible combinations to get the output.
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!