代码搜索:fprintf
找到约 10,000 项符合「fprintf」的源代码
代码结果 10,000
www.eeworm.com/read/145715/12706217
m saveppm.m
%SAVEPPM Write a PPM format file
%
% SAVEPPM(filename, I)
%
% Saves the specified red, green and blue planes in a binary (P6)
% format PPM image file.
%
% SEE ALSO: loadppm
%
% Copyright (c)
www.eeworm.com/read/145715/12706467
m savepgm.m
%SAVEPGM Write a PGM format file
%
% SAVEPGM(filename, im)
%
% Saves the specified image array in a binary (P5) format PGM image file.
%
% SEE ALSO: loadpgm
%
% Copyright (c) Peter Corke, 199
www.eeworm.com/read/246680/12712955
m ex0106.m
function ex0106()
a= [1 50 80 30 45 90 100];
af=zeros(1,length(a));
for n = 1:length(a)
if(a(n)>100)
af(n) = 2;
fprintf('\n\a bad data??\n');
break;
elseif a(n
www.eeworm.com/read/145460/12722900
c sga.c
/********************************************************************/
/* 基于基本遗传算法的分层遗传改进算法函数最优化 SHGA.C */
/* A Function Optimizer using Simple Genetic Algorithm */
/* dev
www.eeworm.com/read/145460/12722940
c sga.c
/********************************************************************/
/* 基于基本遗传算法的函数最优化(预选择机制) SGA_Y.C */
/* A Function Optimizer using Simple Genetic Algorithm */
/*
www.eeworm.com/read/145385/12729289
m ex4_2.m
% 输入文本文件名
qname=input('Enter file containing questions : ','s');
ip=fopen(qname,'rt'); % 打开该文本文件
if (ip
www.eeworm.com/read/246386/12733438
c yyerror.c
#include
#include
#include
#include "yaccdef.h"
yyerror(s)
char *s;
{
yymessage ("Error", s, NULL);
}
yywarning(s, token)
char *s, *token;
{
yymessage ("Warni
www.eeworm.com/read/145312/12736217
m rlsidentmompv.m
%变遗忘因子的实时算法
%di'=[-y(i),-y(i+1),...,-y(i+n-1),u(i),...u(i+n-1)]
%系数向量o'=[an,...a1,bn,...b1]
%p代表遗忘因子
%打开数据
%load('c:\\MATLAB701\\work\\data.mat'); %打开数据
data;
%标量的输入
fprintf(1,'\n');%换行
n
www.eeworm.com/read/145312/12736220
m lsident.m
%一次的最小二乘法
%di'=[-y(i),-y(i+1),...,-y(i+n-1),u(i),...u(i+n-1)]
%系数向量o'=[an,...a1,bn,...b1]
%打开数据
%load('c:\\MATLAB701\\work\\data.mat'); %打开数据
data;
%标量的输入
fprintf(1,'\n');%换行
n=input('inpu
www.eeworm.com/read/145312/12736222
m elsident.m
%增广最小二乘法
%di'=[-y(i),-y(i+1),...,-y(i+n-1),u(i),...u(i+n-1),e(i),...,e(i+n-1)]
%系数向量o'=[an,...a1,bn,...b1,cn,...,c1]
%打开数据
%load('c:\\MATLAB701\\work\\data.mat'); %打开数据
data;
%标量的输入
fprin