Files
-
manufacturing / PCB / Shield / shield.brd
-
manufacturing / PCB / Shield / shield.sch
-
manufacturing / PCB / Shield / shield_bigfpga.brd
-
manufacturing / PCB / Shield / shield_bigfpga.sch
-
manufacturing / PCB / TransducerBoard / bigTransBrd.brd
-
manufacturing / PCB / TransducerBoard / bigTransBrd.sch
-
manufacturing / PCB / TransducerBoard / smallTransBrd.brd
-
manufacturing / PCB / TransducerBoard / smallTransBrd.sch
Last update 6 years 2 months
by
JosefMatous
FilesMATLAB optimizationghostTouch | |
---|---|
.. | |
p.m | |
pressurePoints.m | |
pressurePoints_16mm.m |
p.mfunction p = p(P0,k,r,tx,ty,pos) x = pos(:,1); y = pos(:,2); z = pos(:,3); xr = x - tx; yr = y - ty; epsilon = 1e-6; % small error d = sqrt(xr.^2 + yr.^2 + z.^2); sinTheta = sqrt(xr.^2 + yr.^2)./d + epsilon; p = (2.*exp(d.*1j.*k).*P0.*besselj(1, k.*r.*sinTheta))./(d.*k.*r.*sinTheta); end