代码搜索:fprintf
找到约 10,000 项符合「fprintf」的源代码
代码结果 10,000
www.eeworm.com/read/355101/10294622
m sm100.m
%求和脚本文件
%求100个规律分数的加和
s=1;
for i=1:100 %i为循环变量,循环的次数为100次
s=s+i/(i+1); %循环体
end
fprintf('s=%f\n',s); %输出结果
www.eeworm.com/read/355101/10294653
m mypi.m
%首先设定需要的变量
t=1; %变量t表示计算式括号中的各项
pi=0; %pi代表圆周率,首先置0
n=1; %n为表示分母的变量
s=1; %变量s用正负数的改变,控制“+、-”的转换
%使用while循环语句
while abs(t)>=1e-7 %“t的绝对值大于10的-7次方”为循环执行条件
pi=pi+t; %循环体
n=n+2;
www.eeworm.com/read/355030/10300556
h require.h
//: :require.h
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 1999
// Copyright notice in Copyright.txt
// Test for error conditions in programs
www.eeworm.com/read/280629/10301844
m nds.m
function net=nds(Y,input,N,cyc,tol,s1,s2,ipar);
% PURPOSE : Estimates the weights of an MLP and the noise covariances using the EM algorithm.
% INPUTS : - Y = The target data.
% - input = T
www.eeworm.com/read/280604/10304593
m selectdemo.m
function selectdemo(seed)
% selectdemo: demonstrate mixtureSelect
% Copyright (c) 2001 Frank Dellaert
% All rights Reserved
if nargin
www.eeworm.com/read/355007/10304997
c ferror.c
#include
#include
void main (int argc, char *argv[])
{
FILE *fp;
char line[256];
if (fp = fopen(argv[1], "r"))
{
while (fgets(line, sizeof(lin
www.eeworm.com/read/355007/10306220
c no_redir.c
#include
#include
void main (void)
{
union REGS inregs, outregs;
// check the stdin handle first
inregs.x.ax = 0x4400;
inregs.x.bx = 0; // stdin
www.eeworm.com/read/280595/10311508
m usps2mat.m
% USPS2MAT converts USPS database to Matlab data file (MAT).
%
% Description:
% It creates MAT-file containing training and testing part
% of the USPS database of handwritten numerals.
%
% Input:
www.eeworm.com/read/425880/10312049
h main.h
#ifndef _MAIN_H_
#define _MAIN_H_
#include
#include
#include
#include
#include
#include
#include
#include