搜索结果
找到约 18 项符合
N1 的查询结果
按分类筛选
Linux/Unix编程 看n2实例 #Create a simulator object set ns [new Simulator] #Define different colors for data flows
看n2实例 #Create a simulator object
set ns [new Simulator]
#Define different colors for data flows
#$ns color 1 Blue
#$ns color 2 Red
#Open the nam trace file
set nf [open out-1.nam w]
$ns namtrace-all $nf
set f0 [open out0.tr w]
set f1 [open out1.tr w]
#Define a finish procedure
proc finish {} ...
其他嵌入式/单片机内容 pic延时子程序
pic延时子程序,同过.EXE文件取出的值替换下面的代码,就能很好的实现延时。
1层循环例程:
movlw 0x00 取值
movwf n0
incfsz n0
goto $-1
return
2层循环例程:
movlw 0x11 外层
movwf n1
movlw 0x00 里层
movwf n0
incfsz n0
goto $-1
incfsz n1
goto $-5
return ...
数学计算 The code performs a number (ITERS) of iterations of the Bailey s 6-step FFT alg
The code performs a number (ITERS) of iterations of the
Bailey s 6-step FFT algorithm (following the ideas in the
CMU Task parallel suite).
1.- Generates an input signal vector (dgen) with size
n=n1xn2 stored in row major order
...
数值算法/人工智能 These codes require an ASCII input file interp.dat of the following form: N: Number of Polynomia
These codes require an ASCII input file interp.dat of the following form:
N: Number of Polynomial Interpolation Points (Small)
First Sample (x1,y1)
Second Sample (x2,y2)
...
Nth Sample (xN,yN)
N1: Number of Error Evaluation Points (Large)
First Sample (x1,y1)
Second Sample (x2,y2)
. ...
源码 12345
/****************temic*********t5557***********************************/   
#include &nbsp; <at892051.h> &nbsp; &nbsp;
#include &nbsp; <string.h> &nbsp;&nbsp;
#include &nbsp; <intrins.h> &nbsp; &nbsp;
#include &nbsp; <stdio.h> &nbsp; &nbsp;
#define &nbsp; &nbsp;uchar &nbsp; &nbsp;unsign ...
源码 成绩查询系统
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#define N 100
int iNumOfStu=0;
struct score
&nbsp;&nbsp;{
&nbsp;&nbsp;float math;
&nbsp;&nbsp;float english;
&nbsp;&nbsp;float computer;
&nbsp;&nbsp;};
struct student
&nbsp;&nbsp;{
&nbsp;&nbsp;int number ...
源码 学生成绩guanli
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#define N 100
int iNumOfStu=0;
struct score
&nbsp;&nbsp;{
&nbsp;&nbsp;float math;
&nbsp;&nbsp;float english;
&nbsp;&nbsp;float computer;
&nbsp;&nbsp;};
struct student
&nbsp;&nbsp;{
&nbsp;&nbsp;int number ...
技术资料 自制12v开关电源电路图
关键字:12v开关电源+12V、0.5A单片开关稳压电源的电路如图所示。其输出功率为6w.当输入交流电压在 110~260V范围内变化时,电压调整率Svs 1%。当负载电流大幅度变化时,负载调整率Si=5%~7%。为简化电路,这里采用了基本反馈方式。接通电源后,220V交流电首先经过桥式整流和C1滤波,得到约+300V的直流高压,再通过高频变压器 ...