代码搜索:sprintf
找到约 7,065 项符合「sprintf」的源代码
代码结果 7,065
www.eeworm.com/read/365844/9844845
m display.m
function display(ddv)
% DISPLAY -
%
for k=1:length(ddv)
disp(sprintf('\n'))
disp('Discrete design variable')
disp('------------------------')
display(ddv(k).gen)
txt=strcat('Pos
www.eeworm.com/read/365844/9844860
m display.m
function display(gen)
% DISPLAY -
%
txt=sprintf('Name: %s\nCoding bits: %g\nValue: %g',gen.name,gen.bits,gen.value);
disp(txt)
www.eeworm.com/read/365527/9858465
m exa4_14.m
fid = fopen('magic.m', 'r');
count = 0;
while ~feof(fid)
line = fgetl(fid);
if isempty(line) | strncmp(line, '%', 1)
continue
end
count = count + 1;
end
disp(sprintf('
www.eeworm.com/read/364985/9884383
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/364985/9884462
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/364791/9894821
h tr.userq.h
/*
* Copyright (c) 2002 The Board of Trustees of the University of Illinois and
* William Marsh Rice University
* Copyright (c) 2002 The University of Utah
* Copyright (c) 2002
www.eeworm.com/read/364791/9894867
h tr.net.h
/*
* Copyright (c) 2002 The Board of Trustees of the University of Illinois and
* William Marsh Rice University
* Copyright (c) 2002 The University of Utah
* Copyright (c) 2002
www.eeworm.com/read/168805/9897167
bak sample4.sqc.bak
/*
作者:ddxkxk
ddxxkk@21cn.com
*/
/* sample.nmk
all:sample4.dll
sample4.ccs : sample4.sqc;
db2 connect to cicstest
db2 prep sample4.sqc bindfile
db2 bind sample4.bnd
db2 grant execute on
www.eeworm.com/read/168805/9897185
sqc sample4.sqc
/*
作者:ddxkxk
ddxxkk@21cn.com
*/
/* sample.nmk
all:sample4.dll
sample4.ccs : sample4.sqc;
db2 connect to cicstest
db2 prep sample4.sqc bindfile
db2 bind sample4.bnd
db2 grant execute on
www.eeworm.com/read/364688/9898322
m ps.m
%RunExp >> Automation function
% Usage : RunExp(noRuns, ExitAction) %e.g. RunExp(25, 1); -> Runs each experminet for 25 trials and Exits matlab when doen.
% Arguments : (optional) noRuns ->