代码搜索:sprintf
找到约 7,065 项符合「sprintf」的源代码
代码结果 7,065
www.eeworm.com/read/320561/13423733
m calibrate_resolution.m
% calibrate_resolution.m
msg='Do these video images contain 3-4-5 calibration marks?';
calibrate=questdlg(msg,'Calibrate','Yes','No','No');
switch calibrate
case 'No'
load pixres %u
www.eeworm.com/read/319871/13441010
m exm051422_1.m
%exm051422_1.m
G=6.672e-11;ME=5.97e24;vy0=4000; x0=-4.2e7;t0=0;tf=60*60*24*9;
tspan=[t0,tf];Y0=[x0;0;0;vy0];
[t,YY,Te,Ye,Ie]=ode45('DYDt3',[],[],[],G,ME,tspan,Y0); %
X=YY(:,1);Y=YY(:,2);
shg
www.eeworm.com/read/319871/13441052
m callcheck.m
function callcheck(htext,str1,z,vchk1,vchk2)
cla,set(htext,'string',[str1,sprintf('%1.4g\',z)]); %更新静态文本框内容
dt=0.1;t=0:dt:15;N=length(t);y=step(1,[1 2*z 1],t);plot(t,y);
if vchk1 %假如峰值
www.eeworm.com/read/319604/13448340
m sacubic.m
function [ab,vE,E] = sacubic(N);
%
% Ph.D. Thesis
% Leandro Nunes de Castro
% October, 1999.
% Function generates n-bit binary strings antibody most uniformly
% distributed over the search spac
www.eeworm.com/read/319604/13448357
m imalg3d.m
function [x,y,fx,vfx,vmfit,P,vpm] = imalg3d(P,gen,n,pm,per);
%
% Ph.D. Thesis
% Leandro Nunes de Castro
% November, 1999.
% Immune Algorithm - New evolutionary strategy inspired in the Immune S
www.eeworm.com/read/319604/13448359
m tutorial.m
function [] = tutorial
%
% Function TUTORIAL Demonstration
% Runs a Demo for the following immune tools:
% 1) SAND (Simulated Annealing Model of Diversity - unpublished)
% 2) ABNET (Growing Boole
www.eeworm.com/read/319604/13448367
m saml.m
function [ab,vE,E] = saml(N);
%
% Ph.D. Thesis
% Leandro Nunes de Castro
% October, 1999.
% Function generates n-bit binary strings antibody most uniformly
% distributed over the search space
www.eeworm.com/read/319604/13448372
m sareal.m
function [ab,vE,vRb,E,Rb] = sareal(ab,niter);
%
% Ph.D. Thesis
% Leandro Nunes de Castro
% October, 1999.
% Function generates n-bit binary strings antibody most uniformly
% distributed over th
www.eeworm.com/read/319604/13448373
m ga3d.m
function [x,y,fx,vx,vmfit,P] = ga3d(v,ger,pc,pm);
%
% Ph.D. Thesis
% Leandro Nunes de Castro
% November, 1999.
% ENHANCED GENETIC ALGORITHM - Bi-classist Selection
%
% Secondary functions: DECODE &