自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

vvickey11的博客

一直走

  • 博客(12)
  • 收藏
  • 关注

原创 概率 相关性 独立性

不相关指两个随机事件之间的关系.独立指一个随机事件重复多次.相关性是: CORR(X,Y)。 相关性CORR(X,Y)=COV(X,Y)/(X的标准差*Y的标准差) 代表两变量X和Y的线性相关程度。若CORR(X,Y)=0,则说明X和Y独立。 若CORR(X,Y)=+(-)1,则X和Y几乎处处线性关系。线性相关,就是存在a,b,使得Y=aX+b。 CORR(X,Y)这个

2016-08-17 16:29:48 7829

原创 matlab 变量命名 字符串数组 length() 制定路径文件提取 柱状图

1.变量命名 eval(['A',num2str(count),'=clear_reform(a(count))']);第一对单引号之内是字符串,num2str(count)是变量,第二对单引号之内是表达式2.字符串数组尝试了str(1,:)=['absbj']是不可以的aname_list{count} = subdir_array(i).name;应该使用{}的形式,

2016-08-16 09:31:02 1576

原创 codeblocks 安装注意

codeblocks有的不带有MinGW,需要自行安装。1.首先去下载对应的32位或者64位的MinGW。2.解压即可没有什么安装,记得文件位置。3.改变环境变量的Path,路径是刚才的MinGW下bin文件位置。记得在cmd里测试一下gcc -v用这个命令。4.然后下载codeblocks,在settins里边的compiler settings里边找到tool ...什么的,然

2016-08-14 20:59:18 379

原创 计蒜客 数据结构 栈 模板倒水问题

//单调递减栈//题目://我们来看看这样一道题:地上从左到右竖立着 n 块木板,从 1 到 n 依次编号,(10,5,8,12,6)//如下图所示。我们知道每块木板的高度,在第 n 块木板右侧竖立着一块高度无限大的木板,//现对每块木板依次做如下的操作:对于第 i 块木板,我们从其右侧开始倒水,//直到水的高度等于第 i 块木板的高度,倒入的水会淹没 ai 块木板(如果木板左右两侧水的

2016-08-12 15:20:26 683

原创 计蒜客 数据结构 栈 数列翻转

//数据结构 栈 数列翻转#include#include#includeusing namespace std;template class Stack {private: Type *urls; int max_size, top_index;public: Stack(int length_input) { urls = new Type

2016-08-11 22:08:19 427

原创 计蒜客 数据结构 栈 stack_expression C++

//stack_expression//只处理加法和乘法的用栈实现的表达式求值,表达式长度为n//表达式输入的中间不能有空格#include#include#includeusing namespace std;template class Stack {private: Type *urls; int max_size, top_index;public:

2016-08-11 22:01:33 696 2

原创 计蒜客 数据结构 链表 ——应用筛选简历 C++

//这个程序是,没有头节点的//2016/08/10#includeusing namespace std;class Node {public: int data; Node* next; Node(int _data) { data = _data; next = NULL; }};class LinkList {

2016-08-11 17:20:24 679

原创 计蒜客 数据结构 顺序表 C++

#include #include using namespace std;class Vector {private: int size, length; int *data;public: Vector(int input_size) { size = input_size; length = 0; data =

2016-08-11 17:18:00 656

原创 计蒜客 数据结构 队列——循环队列 C++

//循环队列的操作#include #include using namespace std;class Queue {private: int *data; int head, tail, length, count;public: Queue(int length_input) { data = new int[length_input];

2016-08-11 17:13:59 333

原创 计蒜客 数据结构 链表 C++

//链表的插入insert()和删除delete_node()还有输出,翻转everse()#includeusing namespace std;class Node {public: int data; Node* next; Node(int _data) { data = _data; next = NULL; }}

2016-08-11 17:12:41 597

原创 计蒜客 数据结构 链表——约瑟夫环 C++

#includeusing namespace std;class Node {public: int data; Node* next; Node(int _data) { data = _data; next = NULL; }};class LinkList {private: Node* head;pub

2016-08-11 17:11:20 788

原创 计蒜客 数据结构 Queue

//数据结构--C++--队列//队列的定义、插入、删除#include using namespace std;class Queue{ private: int* data; int head, tail, length; public: Queue(int length_input){ //开辟

2016-08-11 17:10:00 409

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除