代码搜索结果

找到约 10,000 项符合 Raspberry Pi 的代码

lmin.m

% lmin.m - find locations of voltage minima and maxima % % Usage: [lm,Zm] = lmin(ZL,Z0,type) % [lm,Zm] = lmin(ZL,Z0) (equivalent to type='min') % % ZL = load impedance % Z0 = lin

dslab.m

% dslab.m - solves for the TE-mode cutoff wavenumbers in a dielectric slab % % Usage: [u,v] = dslab(R,Nit) % [u,v] = dslab(R) (equivalent to Nit=3) % % R = frequency radius = k0*a*N

fcs.m

% fcs.m - Fresnel integrals C(x) and S(x) % % Usage: F = fcs(x) % % x = vector or matrix of real numbers % F = C(x) - jS(x) of same size as x % % notes: F(x) = C(x) - j*S(x) = int_0^x exp(-j*p

update.m

% update 量子门更新策略 for j=1:n %n个个体,依次更新 if t==1 if fit(j)>=MAX0(number); sign=1; else sign=0; end elseif fit(j)>=MAX(number,t-1)%本代的最优解比上代

demosubplot.m

% demoSubplot Demonstration of subplot with four sine functions x = linspace(0,2*pi); subplot(2,2,1); plot(x,sin(x)); axis([0 2*pi -1.5 1.5]); title('sin(x)'); subplot(2,2,2); plot(x,s

equaltest.m

% Script to demonstrate equality of two floating point numbers x = tan(pi/6); y = sin(pi/6)/cos(pi/6); if x==y fprintf('x and y are equal\n'); else fprintf('x and y are not equal: x = %e

trapzdattest.m

function trapzDatTest % trapzDatTest Verify trapzDat function for different types of input % % Synopsis: trapzDatTest % % Input: none % % Output: Print out of test results % --- Int

demosubplot.m

% demoSubplot Demonstration of subplot with four sine functions x = linspace(0,2*pi); subplot(2,2,1); plot(x,sin(x)); axis([0 2*pi -1.5 1.5]); title('sin(x)'); subplot(2,2,2); plot(x,s

equaltest.m

% Script to demonstrate equality of two floating point numbers x = tan(pi/6); y = sin(pi/6)/cos(pi/6); if x==y fprintf('x and y are equal\n'); else fprintf('x and y are not equal: x = %e

trapzdattest.m

function trapzDatTest % trapzDatTest Verify trapzDat function for different types of input % % Synopsis: trapzDatTest % % Input: none % % Output: Print out of test results % --- Int