I've the triplet [AF,theta,phi] (AF=Array Factror), and would like to map this data into Azimuth Elevation (AZ EL) map. It means to flatten hemisphere. What kind of mapping should I do?
ejs
I succeed to find the answer.
First I convert to uv - plane as follows:
u=cos(phi).*sin(theta);
v=sin(phi).*sin(theta);
And afterward I convert to Azimuth/Elevation - plane as follows:
AZ=linspace(-pi/2,pi/2,length(u));
EL=linspace(-pi/2,pi/2,length(v));
u1=cos(EL)'*sin(AZ);
v1=sin(EL)'*ones(size(AZ));
AF_azel=griddata(u,v,AF,u1,v1);