代码搜索:模式匹配
找到约 10,000 项符合「模式匹配」的源代码
代码结果 10,000
www.eeworm.com/read/197111/8028561
m exam10_6.m
clc;
clear;
% 当前扩展模式是补零
% 构造原始一维信号s
randn('seed',531316785)
s = 2 + kron(ones(1,8),[1 -1]) + ...
((1:16).^2)/32 + 0.2*randn(1,16);
% 使用db2进行单尺度dwt
[ca1,cd1] = dwt(s,'db2');
subplot(221
www.eeworm.com/read/197111/8028609
m 例程11-7.m
% 当前延拓模式是补零
% 装载原始图像
load sinsin;
% 绘制原始图像
subplot(2,2,1);
image(X);
colormap(map);
title('原始图像');
% X 包含装载的图像
% 使用db1对X进行尺度为2的分解
[c,s] = wavedec2(X,2,'db1');
sizex = size(X)
sizec = size
www.eeworm.com/read/197111/8028624
m 例程11-6.m
% 当前延拓模式是补零
% 装载原始图像
load woman;
% X 包含原始图像
% 绘制原始图像
subplot(3,3,1);
image(X);
colormap(map);
title('原始图像');
% 使用db1对X进行尺度为2的分解
[c,s] = wavedec2(X,2,'db1');
sizex = size(X)
sizec = size
www.eeworm.com/read/296700/8080752
m neuralnetwork_bp_classification.m
% BP 神经网络用于模式分类
% 使用平台 - Matlab6.5
clc
clear
close all
%---------------------------------------------------
% 产生训练样本与测试样本,每一列为一个样本
P1 = [rand(3,5),rand(3,5)+1,rand(3,5)+2];
T1 = [repmat([1
www.eeworm.com/read/195919/8123116
vhd suart.vhd
-- SUART Project
--
-- SUART.vhd
-- SUART主模块
--
-- GW48-CK + GW-DSP/VGA (EP1K50TC144-3)
-- 模式:No.1
-- Note: 1、需连接串口电缆
-- 2、跳线JMCU跳为:PIO31-P3.0,PIO30-P3.1
-- 3、时钟Clock0接为12MHz
-- 4、
www.eeworm.com/read/295928/8134491
cpp algo4-2.cpp
// algo4-2.cpp 实现算法4.6、4.8的程序
#include"c1.h"
#include"c4-1.h"
#include"bo4-1.cpp"
void get_nextval(SString T,int nextval[])
{ // 求模式串T的next函数修正值并存入数组nextval。算法4.8
int i=1,j=0;
nex
www.eeworm.com/read/295928/8134527
cpp algo4-1.cpp
// algo4-1.cpp 实现算法4.6、4.7的程序
#include"c1.h"
#include"c4-1.h"
#include"bo4-1.cpp"
void get_next(SString T,int next[])
{ // 求模式串T的next函数值并存入数组next 算法 4.7
int i=1,j=0;
next[1]=0;
www.eeworm.com/read/146173/12666246
cpp algo4-2.cpp
// algo4-2.cpp 实现算法4.6、4.8的程序
#include"c1.h"
#include"c4-1.h"
#include"bo4-1.cpp"
void get_nextval(SString T,int nextval[])
{ // 求模式串T的next函数修正值并存入数组nextval。算法4.8
int i=1,j=0;
nex
www.eeworm.com/read/146173/12666284
cpp algo4-1.cpp
// algo4-1.cpp 实现算法4.6、4.7的程序
#include"c1.h"
#include"c4-1.h"
#include"bo4-1.cpp"
void get_next(SString T,int next[])
{ // 求模式串T的next函数值并存入数组next 算法 4.7
int i=1,j=0;
next[1]=0;
www.eeworm.com/read/146046/12681986
h i2cint.h
/****************************************************************************
* 文件名:I2CINT.H
* 功能:硬件I2C软件包,利用中断方式操作。(头文件)
* 说明:主程序要配置好I2C总线接口(I2C引脚功能和I2C中断,并已使能I2C主模式)
****************************