I have to combine output(79 matrix of 64 by 1) of a loop into a single matrix of 64 by 79. Kindly add a line in my code
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Sajid Sarwar
am 26 Nov. 2018
Kommentiert: madhan ravi
am 26 Nov. 2018
y=rand(64,1);
N=10112;
SC=64;
for e=1:((N/2)/SC)
Rx_com_t =fft(y)
end
% please combine Rx_com_t into a single matrix of 64 by 79
0 Kommentare
Akzeptierte Antwort
madhan ravi
am 26 Nov. 2018
Bearbeitet: madhan ravi
am 26 Nov. 2018
>> y=rand(64,1);
N=10112;
SC=64;
n=(N/2)/SC;
Rx_com_t=cell(1,n);
for e=1:n
Rx_com_t{e}=fft(y);
end
Rx_com_t =[Rx_com_t{:}];
% please combine Rx_com_t into a single matrix of 64 by 79
>> size(Rx_com_t)
ans =
64 79
>>
3 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Resizing and Reshaping Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!