Code covered by the BSD License  

Highlights from
RF Design and Analysis

from RF Design and Analysis by Jackson Harvey
A collection of functions, scripts, & Simulink models useful for designing and analyzing RF systems

pcc2ccc (mag, ang);
% PCC2CCC  Convert the polar input into a complex number
%
%    [pcc] = PCC2CCC (mag, ang) converts the polar input into a complex number
% 

function [pcc] = pcc2ccc (mag, ang);
[x, y] = pol2cart (ang, mag);
pcc = x + j * y;

Contact us at files@mathworks.com