Code covered by the BSD License  

Highlights from
RF Design and Analysis

RF Design and Analysis

by

 

A collection of functions, scripts, & Simulink models useful for designing and analyzing RF systems

iscmplx (x)
% ISCMPLX  Tests if a number or array is complex
% 
%    [T] = ISCMPLX (x) returns 1 if x is complex, 0 otherwise
% 

function [T] = iscmplx (x)

T = 1;

if (x == real(x)),
	T = 0;   
end;   

Contact us