我有这个查询
function output = new_synch(rxWaveform,pssRef)
%PSSIndices = ltePSSIndices(enb); % getting PSS indexes
%pssGrid = lteDLResourceGrid(enb); % generate empty sub frame for PSS symbols
%pssGrid(PSSIndices) = ltePSS(enb); % map PSS symbols into the subframe
%pssRef = lteOFDMModulate(enb,pssGrid); % generate PSS reference signal via LTE OFDM
% getting the lenghts of the received waveform and PSS reference signal
rxSize = size(rxWaveform,1);
pssSize = size(pssRef,1);
% performing correlation between received waveform and pss symbols
pssCorr = xcorr(rxWaveform,pssRef);
% segmenting resultant vector to identify the first local maximum
pssCorr = pssCorr(rxSize - pssSize:rxSize + pssSize,:);
% extract the index of first local maximum, M is not useful here, just for
% the output result
[M,index] = max((abs(pssCorr)));
%calculating offset using local maximum
offset = index - pssSize -1; % subtracted from 1 due to shift in the
output = rxWaveform(1+offset:end,:);
end
返回此输出
select ROW(qid::integer,a.prev_qid::integer) ids from getchildren(39) b
cross join lateral(select qid prev_qid from getprevquestion(b.qid)
)a
我想将这些记录汇总成这样
(42,39)
(43,39)
(48,42)
(49,42)
(50,42)
(51,43)
(52,43)
(53,43)
我需要遍历这样的数组
此查询
((42,39),(43,39),(48,42),(49,42),(50,42),(51,43),(52,43),(53,43))
返回错误
错误:记录类型尚未注册
**********错误**********