Another typo fix in Mandatory 2_澳门皇冠体育,皇冠足球比分

svenpn
2022-03-30T12:09:39.275Z
type:structured-message
www.uio.no

The second hint of Part A task 2 has now been clarified in order to avoid getting the wrong order of operator parsing in Matlab.

It turns out there was a mistake in generate_data.m where the steering vectors were defined via

a1 = exp(j*phi1).^[0:M-1]';
a2 = exp(j*phi2).^[0:M-1]';

Because Matlab in that case parsed the ' operator (complex conjugate transpose) as the last operation, in fact the steering vectors became complex conjucated compared to the operation

a1 = exp(j*phi1).^([0:M-1]');
a2 = exp(j*phi2).^([0:M-1]');

But this was alright as long as you would use the expression

a = exp(j*phi).?[0:(M-1)]’;

in the beamforming code - since this "fixes back" the complex conjugate when sweeping over angles.

A correct operator parsing is achieved if the sweeping steering vector is instead:
...