代码搜索:sprintf

找到约 7,065 项符合「sprintf」的源代码

代码结果 7,065
www.eeworm.com/read/202203/15389495

m jac.m

%Jacobian迭代程序 function [x,sp]=jac(a,b,n,x1) %误差 e=ones(n,1); %迭代的解向量 x2=zeros(n,1); %迭代的次数 k=0; %当误差没有满足要求时继续迭代 while norm(e,2)>1e-6 %每隔5步显示迭代结果 if (rem(k,5)==0) str=sprintf('X
www.eeworm.com/read/201342/15409995

txt 10-41.txt

%例10-41 运行错误的处理。 %编制M文件如下。 function d=yunxingcuowu(a,b,c) d=a/b; if isinf(d) %对可能产生的inf值做出判断 sprintf('b should not be 0') return else d=d*c; end %为了检验该程序,
www.eeworm.com/read/200388/15434389

m saveinr.m

%SAVEINR Write an INRIMAGE format file % % SAVEINR(filename, im) % % Saves the specified image array in a INRIA image format file. % % SEE ALSO: loadinr % % Copyright (c) Peter Corke, 1999 Machine Vi
www.eeworm.com/read/200317/15435357

m dipole_example_no.m

% Description: % ------------ % A simple example to demonstrate the HFSS-MATLAB-API. This script optimizes % a dipole antenna design to resonate at a specified frequency. The initial % length of the
www.eeworm.com/read/113863/15446265

c snprintf.c

/* * Throughout the book I use snprintf() because it's safer than sprintf(). * But as of the time of this writing, not all systems provide this * function. The function below should only be built
www.eeworm.com/read/113381/15457080

c devices.c

/* * devices.c * (C) Copyright 1999 Randy Dunlap. * (C) Copyright 1999,2000 Thomas Sailer . (proc file per device) * (C) Copyright 1999 Deti Fliegl (new USB architecture) *
www.eeworm.com/read/109983/15543959

cpp salewin2.cpp

/* 模块:多单模块。 */ #include #include #include #include "sysinfo.h" #include "def.h" #include "salewin.h" void SaleWin::ClearGrid() { if(sys->SalSW == L_YES)
www.eeworm.com/read/105832/15658218

c cprt.c

#include #include "xtdio.h" /* --------------------------------------------------------------------- */ /* cprt: print out a character so that it is legible */ #ifdef __PROTOTYPE__ char *c
www.eeworm.com/read/104053/15711597

c devname.c

/* * Copyright 1998 by Albert Cahalan; all rights resered. * This file may be used subject to the terms and conditions of the * GNU Library General Public License Version 2, or any later v
www.eeworm.com/read/103960/15715513

c ctlstr.c

#include "calld.h" /* Make a printable string of the character "c", which may be a * control character. Works only with ASCII. */ char * ctl_str(char c) { static char tempstr[6]; /* biggest is "