代码搜索结果
找到约 5,431 项符合
Temperature 的代码
code.m
function [minimum,fval] = anneal(loss, parent, options)
% ANNEAL Minimizes a function with the method of simulated annealing
% (Kirkpatrick et al., 1983)
%
% ANNEAL takes three input parameter
anneal.m
function [minimum,fval] = anneal(loss, parent, options)
% ANNEAL Minimizes a function with the method of simulated annealing
% (Kirkpatrick et al., 1983)
%
% ANNEAL takes three input parameters,
input-basic-units2
/* ======================================================= */
/* VARIBALE WITH UNITS II */
/* This input file tests the variables with different Units */
/* =
2-9.c
#include"stdio.h"
main()
{
float T[4][7],sum,avg;
int i,j;
float f1,*f2;
clrscr();
sum=avg=0;
scanf("%f",&T[0][0]);
sum=sum+T[0][0];
for(i=0;i
2-8.c
#include"stdio.h"
main()
{
float T[4][7],sum,avg;
int i,j;
float f1,*f2;
clrscr();
sum=avg=0;
f1=1.0;
f2=&f1;
for(i=0;i
2-7.c
#include"stdio.h"
main()
{
float T[4][7],sum,avg;
int i,j;
clrscr();
sum=avg=0;
for(i=0;i
portingcomments.txt
Comments about uIP porting to 8051 by Fajun Chen
8051WEB is the porting of uIP to 8051 by Fajun Chen. It was tested with
Windows2000 Professional.
1. Instruction for setting up Windows2000 Dial-up
18b20.c
#include
#define uchar unsigned char
#define uint unsigned int
sbit DQ=P1^0;
uchar temperature,tl,th;
void delay(uint n)
{
uint x,y;
for(x=n;x>0;x--)
for(y=112;y>0;y--)
utility.c
/*-----------------------------------------------------------------
NiMH_Charger Copyright (c) 2007 by Jack Botner
utility.c
-----------------------------------------------------------------*
18b20.c
//延时子程序****************************************************************************************
void delay(unsigned int i)
{ while(i--);}
void beep( bit i)
{ Beep=i;}
//读温度******