Code covered by the BSD License  

Highlights from
RF Utilities V1.2

image thumbnail
from RF Utilities V1.2 by Neill Tucker
Routines for Smith Chart, TDR, Mixed-Mode S-params, Matching

hamwin =hamming1(N);
function hamwin =hamming1(N);
% Hamming window function
%
% N  = Number of points in window vector

% N.Tucker www.activefrance.com 2008

[Row,Col]=size(N);
n=0:1:(N-1);
hamwin=0.54-0.46*cos((n*2*pi)/(N-1));

Contact us at files@mathworks.com