代码搜索:sprintf
找到约 7,065 项符合「sprintf」的源代码
代码结果 7,065
www.eeworm.com/read/432942/8561147
m resolveip.m
% 创建InetAddress对象
function resolveip(input)
try
address = java.net.InetAddress.getByName(input);
catch
error(sprintf('Unknown host %s.', input));
end
% 获取域名或IP
hostname = char(address.getH
www.eeworm.com/read/432936/8561599
asv prob_check.asv
% prob_check.m
% 假设检验演示程序
% 单侧假设检验 %
% 设置检验参数
mu0=100;sig=20;N=16;
% 设置假设检验的置信水平
alpha=0.05;conf=1-alpha;
% 设置正态分布的截断点
cutoff=norminv(conf,mu0,sig/sqrt(N));
% 产生数据点
x=[linspace(90,cutoff),li
www.eeworm.com/read/432936/8561676
m prob_check.m
% prob_check.m
% 假设检验演示程序
% 单侧假设检验 %
% 设置检验参数
mu0=100;sig=20;N=16;
% 设置假设检验的置信水平
alpha=0.05;conf=1-alpha;
% 设置正态分布的截断点
cutoff=norminv(conf,mu0,sig/sqrt(N));
% 产生数据点
x=[linspace(90,cutoff),li
www.eeworm.com/read/188171/8565174
cpp demoopen.cpp
#include
#include
void far DemoFileOpenDialog()
{
char buf[256];
char strFullPathName[MAXPATH];
if (::AfxOpenFileDialog(TRUE, strFullPathName))
{
spri
www.eeworm.com/read/187864/8595162
m dispmat.m
function dispMat(M,name,form)
% Matrix data display method supplied with SA Tools.
% Copyright (c) 2002, by Richard Frost and Frost Concepts.
% See http://www.frostconcepts.com/software for informa
www.eeworm.com/read/187864/8595198
m dispeh.m
function dispEh(Eh)
% Eh matrix display method supplied with SA Tools.
% Copyright (c) 2002, by Richard Frost and Frost Concepts.
% See http://www.frostconcepts.com/software for information on SA T
www.eeworm.com/read/187864/8595240
m dispet.m
function dispEt(Tt,Et,Etarget,ert,Kt,Ebsft)
% Et data display method supplied with SA Tools.
% Copyright (c) 2002, by Richard Frost and Frost Concepts.
% See http://www.frostconcepts.com/software f
www.eeworm.com/read/388439/8609442
m conpred.m
function m = conpred(b,w,p,q,lv)
[mq,nq] = size(q);
[mw,nw] = size(w);
if nw ~= lv
if lv > nw
s = sprintf('Original model has a maximum of %g LVs',nw);
disp(' '), disp(s)
s = spri
www.eeworm.com/read/388426/8609924
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/388426/8609943
asv imalg3d.asv
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