I am scanning from azimuth 1 to 45 by using 20by20 URA narrowband tx array block. The input port 'W' is being fed by a function block which is coded as follows :
function y = SIGNAL_STEER(signal)coder.extrinsic('phased.URA', 'steervec', 'getElementPosition'); y=zeros(400,45); az=45; fc=36e9; v=3e8; lambda=v/fc; ss=phased.URA('Size',[20 20],'ElementSpacing' , lambda/2); elem_pos=(getElementPosition(ss)/lambda); for le=1:1:az; sv=steervec(elem_pos,le); complex_arr=conj(sv);% y=zeros(size(sv));
y=complex_arr; endend
My signal is of 50000by1 dimension, output 'y'is 400by1 and it must be a column vector. When this signal is reflected back from the target and fed into Rx narrowband array block having same configuration as of Narrowband tx array block I get output dimension of 50000by400 which I believe is correct as my URA is 20by20. I believe that my dimensions are correct but I am getting out of memory error! How to resolve it
Best Answer