代码搜索结果
找到约 10,000 项符合
3 的代码
p3_3.m
% Program P3_3
% Frequency-Shifting Properties of DTFT
clf;
w = -pi:2*pi/255:pi; wo = 0.4*pi;
num1 = [1 3 5 7 9 11 13 15 17];
L = length(num1);
h1 = freqz(num1, 1, w);
n = 0:L-1;
num2 = exp(wo*i*n).*n
ex3-3.asm
CMPT: MOV A,R5
CPL A
ADD A,#1
MOV R5,A
MOV A,R4
CPL A
ADDC A,#0
MOV R4,A
RET
5-3-3.m
%竞争层的输出
Jingzheng=rands(20)';
%正向权值W和反向权值T
W=rands(20,5);
T=rands(20,5);
%警戒参数
threshold=0.8;
%两组模式A1和A2
A1=[1 1 0 0 0];
A2=[1 0 0 0 1];
%初始化
for i=1:20
for j=1:5
W(i,j)=1/6;
ex3_3.dsp
# Microsoft Developer Studio Project File - Name="Ex3_3" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Con
ex3_3.dsw
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
ex3_3.cpp
//【例3.3】设计函数,根据三角形的三边长求面积。如果不能构成三角形,给出提示信息。
#include
#include
using namespace std;
float TriangleArea(float a, float b, float c){
if ((a+b
c3-3.cpp
#include
using namespace std;
int main()
{char c;
c=getchar();
putchar(c+32);
putchar('\n');
return 0;
}
main3-3.cpp
// main3-3.cpp 循环队列 检验bo3-3.cpp的主程序
#include"c1.h"
typedef int QElemType;
#include"c3-3.h"
#include"bo3-3.cpp"
void print(QElemType i)
{
printf("%d ",i);
}
void main()
{
algo3-3.cpp
// algo3-3.cpp 括号(()、[]和{})匹配的检验
typedef char SElemType;
#include"c1.h"
#include"c3-1.h"
#include"bo3-1.cpp"
void check()
{ // 对于输入的任意一个字符串,检验括号是否配对
SqStack s;
SElemType ch[80],