代码搜索:sprintf
找到约 7,065 项符合「sprintf」的源代码
代码结果 7,065
www.eeworm.com/read/164050/10133803
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/164050/10133879
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/359349/10154253
m callchec.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
www.eeworm.com/read/359019/10169600
c isovfy.c
/* @(#)isovfy.c 1.14 00/05/07 joerg */
#ifndef lint
static char sccsid[] =
"@(#)isovfy.c 1.14 00/05/07 joerg";
#endif
/*
* File isovfy.c - verify consistency of iso9660 filesystem.
*
Written by
www.eeworm.com/read/163079/10176698
c proc.c
/*
* UNIX An implementation of the AF_UNIX network domain for the
* LINUX operating system. UNIX is implemented using the
* BSD Socket interface as the means of communication with
* the u
www.eeworm.com/read/358694/10181627
m display1.m
function varargout = display1(flag,varargin)
% DISPLAY1 displays progress information during optimization.
% FIGTR = DISPLAY1('init',itbnd,tol,showstat,nbnds,x,g,l,u)
% does the initialization
www.eeworm.com/read/358694/10181655
m optimfcnchk.m
function [allfcns,msg] = optimfcnchk(funstr,caller,lenVarIn,gradflag,hessflag,constrflag)
% OPTIMFCNCHK Pre- and post-process function expression for FUNCHK.
% [ALLFCNS,MSG] = OPTIMFCNCHK(FUNSTR,C
www.eeworm.com/read/358260/10193330
txt 新建文本文档.txt
贪吃蛇matlab代码 function snake(cmd) %SNAKE Graphical User Interface for playing "Nokia Classic Game" Snake. % % The Game: % Make the snake grow longer by directing it to the food. % Extra bonus points are
www.eeworm.com/read/357617/10204857
txt 07-10.txt
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('%d
www.eeworm.com/read/357508/10207543
c edit.c
/*
** Copyright (C) 1997 Free Software Foundation, Inc.
**
** This file is part of TACK.
**
** TACK is free software; you can redistribute it and/or modify
** it under the terms of the GNU General P