%% Rect with vo

function [current] = CurrentRectCst(Q,d,f,vo,s)

current = Q*d*sinc(pi*f*s/vo).*sinc(pi*f*d/vo).*exp(-1i*pi*f*d/vo);