代码搜索:sprintf
找到约 7,065 项符合「sprintf」的源代码
代码结果 7,065
www.eeworm.com/read/480838/6662443
m systemnewton.m
function [] = systemNewton(x0,maxIte)
format compact;
disp(sprintf(' k x_k y_k'));
x=x0(1);
y=x0(2);
k=0;
disp(sprintf('%3d %1.14f %1.14f',k,x,y));
for
www.eeworm.com/read/480838/6662445
m newton.m
function [] = newton(f,Df,x0,maxite);
format compact
xMax=1.5*abs(x0);
xMin=-xMax;
yMax=abs(feval(f,xMax));
t = xMin:0.05:xMax;
plot(t,feval(f,t),'k-');
axis([xMin xMax -yMax yMax]);
hold on;
pl
www.eeworm.com/read/480149/6677726
m itemsmsg.m
function str = itemsmsg(type, items)
str = '';
switch type
case 'Error'
% Display each item's error message
errItem = {items.ItemID};
errMsg = {items.ErrorMessage};
www.eeworm.com/read/480149/6677736
m magic.m
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 lines’,count
www.eeworm.com/read/480149/6678106
m itemsmsg.m
function str = itemsmsg(type, items)
str = '';
switch type
case 'Error'
% Display each item's error message
errItem = {items.ItemID};
errMsg = {items.ErrorMessage};
www.eeworm.com/read/480149/6678107
m magic.m
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 lines’,count
www.eeworm.com/read/479824/6680803
cpp info.cpp
//---------------------------------------------------------------------------
#include
#pragma hdrstop
#include "Info.h"
//-------------------------------------------------------------
www.eeworm.com/read/479650/6689679
cpp p3-169.cpp
#include
#include
#include
//main()函数
void main( void )
{
//声明变量和数组
char buffer[200], s[] = "computer", c = 'l';
int i = 35, j;
float fp =
www.eeworm.com/read/479003/6696796
c keystate.c
#include
#include
#include
/* define variable type */
#define uchar unsigned char
void INITIAL(void); /*液晶显示初始化*/
void CLEAR(void);
www.eeworm.com/read/479044/6698352
c main.c
#include "systemInit.h"
#include "uartGetPut.h"
#include
// 主函数(程序入口)
int main(void)
{
char s[40];
jtagWait(); // 防止JTAG失