代码搜索:sprintf
找到约 7,065 项符合「sprintf」的源代码
代码结果 7,065
www.eeworm.com/read/247651/12637971
m newton.m
function [U,step]=newton(X,n)
k=0;
e=ones(n,1);
while norm(e,2)>1e-6
str=sprintf('X%d= %g %g %g\n',k,X);
disp(str)
k=k+1;
A=df2(X);
dX=inv(A)*f2(X);
X=X-dX;
e=dX;
end
www.eeworm.com/read/247647/12638142
m count.m
function varargout = count(data_src,data_est,varargin)
%COUNT Error counter.
% ERR = COUNT(D,D_E) simply counts an error occurrence of data
% estimations D_E.
%
% [ERR,SER] = COUNT(D,D_E) same
www.eeworm.com/read/247565/12642058
c whattime.c
/* This is a trivial uptime program. I hereby release this program
* into the public domain. I disclaim any responsibility for this
* program --- use it at your own risk. (as if there were any..
www.eeworm.com/read/247527/12652650
m gadiagnose.m
function gadiagnose(FUN,GenomeLength,options)
%GADIAGNOSE prints some diagnostic information about the problem
% private to GA
% Copyright 2004 The MathWorks, Inc.
% $Revision: 1.1.6.1 $
www.eeworm.com/read/247527/12652721
m psdiagnose.m
function psdiagnose(FUN,Iterate,Xin,type,nineqcstr,neqcstr,ncstr,options)
%PSDIAGNOSE prints some diagnostic information about the problem
% private to PFMINLCON, PFMINBND, PFMINUNC.
% Copyri
www.eeworm.com/read/300728/13895878
m mmsetclr.m
%MMSETCLR Obtain an RGB triple interactively from a color sample.
% MMSETCLR displays a dialog box for the user to select
% a color interactively and displays the RGB triple value of
% the new color.
www.eeworm.com/read/237856/13926630
c qqalive.c
/*
* (C) 2005-
* Author: Anda
* missanda@hotmail.com
* QQ 8907673 348498666
*
**/
#include
#include
#include
#include
#include
#
www.eeworm.com/read/135256/13948168
cpp dlgdevalert.cpp
// DlgDevAlert.cpp : implementation file
//
#include "stdafx.h"
#include "DMS.h"
#include "DlgDevAlert.h"
#include "DataBinding.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
sta
www.eeworm.com/read/135218/13949692
c orafns.c
/* orafns.c
"C" functions for simplified interface to Oracle OCI client
library.
Copyright (C) 2002 Alma Mater Software, Inc.
Author: "John Kelley Hinsdale"
This progr
www.eeworm.com/read/134897/13970637
m num2str2.m
function t = num2str2(x,chars)
%-------------------------------------------------------------------------
% NUM2STR2
% ========
% Number to string conversion. Contrary to the Matlab routine NUM2ST