%Calculating the normals of the transmitter and the receiver based on the
%angles.
function [transmitter_,receiver_]=angle_normal(transmitter_,receiver_)
transmitter_.normal=[sin(transmitter_.theta)*cos(transmitter_.fai) ...
    sin(transmitter_.theta)*sin(transmitter_.fai)  cos(transmitter_.theta)]';

receiver_.normal=[sin(receiver_.theta)*cos(receiver_.fai) ...
    sin(receiver_.theta)*sin(receiver_.fai)  cos(receiver_.theta)]';
end
