代码搜索:sprintf

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

代码结果 7,065
www.eeworm.com/read/427511/8938626

m goldfract.m

function goldfract(n) %GOLDFRACT Golden ratio continued fraction. % GOLDFRACT(n) displays n terms. p = '1'; for k = 1:n p = ['1+1/(' p ')']; end p p = 1; q = 1; for k = 1:n s =
www.eeworm.com/read/383191/8962823

cc cmu-trace.cc

/* -*- Mode:C++; c-basic-offset:8; tab-width:8; indent-tabs-mode:t -*- */ /* * Copyright (c) 1997 Regents of the University of California. * All rights reserved. * * Redistribution and use in sour
www.eeworm.com/read/427128/8974497

pl genfilespectestdirs.pl

#!/usr/bin/perl -w # # "$Id$" # # This script generates a set of dummy files and directories for # running FileSpecTest. They are in the form of # fstest/ADMS###/RINEXOBS/S##1###A.##O
www.eeworm.com/read/427128/8974647

pl delfilespectestdirs.pl

#!/usr/bin/perl -w # $Id$ # # # This script eliminates the set of dummy files and directories created # by genFileSpecTestDirs. The dummy files/directories are used while # running FileSpecTest but ar
www.eeworm.com/read/185783/8985200

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 "
www.eeworm.com/read/185783/8985224

c request.c

#include "calld.h" int /* return 0 if OK, -1 on error */ request(Client *cliptr) { pid_t pid; errmsg[0] = 0; /* position where this client left off last (or rewind) */ sys_posn(cliptr->sy
www.eeworm.com/read/382339/9035026

m q45.m

%《MATLAB在电子信息课程中的应用》第四章第五节演示程序q45 % 字符串函数库 % 电子工业出版社出版 陈怀琛 吴大正 高西全合著 2001年10月 clear, echo on s='abyzABYZ0189',pause size(s),pause abs(s),pause setstr(abs(s)),pause dec2hex(abs(s)),pause s1
www.eeworm.com/read/184938/9064275

m test1.m

im = imread('images/berries.jpg','jpg');%%% 载入待处理的图片 im = double(im) ./ 256; load clusters % clusters was created using the previous command M = calculatePXTheta(im,clusters); figure(1) colormap gr
www.eeworm.com/read/184787/9076217

m sor.m

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

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