排序 外排中使用置换选择排序的目的,是为了增加初始归并段的长度。√ 插入排序:需要有一个对比查找过程;选择排序直接插入指定位置。 快速排序中,第i趟排序结果至少确定i个元素的位置。 使用堆排序方法排序(45,78,57,25,41,89),…
语音信号处理笔记(2)
语音和阵列信号的基础 以下内容均为自己有关文献和论文整理,因为部分公式较难打出,所以整理成了图片。 语音信号及特点 1.语音信号的几大特点: 噪声场 不同噪声场中的噪声之间的相关程度不一样。定义噪声相关函数如下: 一般认为,在不考虑噪声的散…
MATLAB绘制语谱图代码
分享MATLAB绘制语谱图代码如下: close all; clear all; %原始语音通道1 [orign,Fs]=audioread('6ch_zys_n1_50cm4_mvdr.wav'); to=(1:length(orign(…
牛客网选择题整理20190616
C++/C语言基础 对下列语句正确的描述是? const int *x; //① int * const x; //② 答案:语句②的含义是指针变量x不能更改 解析:const修饰 * 左侧的时候,表示指向的数据类型为常量;当con…
[leetcode]题目解析(190612)
Surrounded Regions 题目描述 Given a 2D board containing’X’and’O’, capture all regions surrounded by&…
[leetcode]题目解析(190610)
Edit distance(dynamic programing) 题目描述 Given two words word1 and word2, find the minimum number of steps required to con…
[leetcode]题目解析(190609)
Construct binary tree from preorder and inorder traversal 题目描述 Given preorder and inorder traversal of a tree, construct…