平台:Win7 64 bit,Matlab R2014a(8.3)
“Matlab”是“Matrix Laboratory”
的缩写,中文“矩阵实验室”,是强大的数学工具。本文侧重于Matlab的编程语言侧面,讲述Matlab的基本语法,以及用Matlab语言进行程序设计。值得一提的是,Matla....
分类:
其他好文 时间:
2014-05-23 23:15:20
阅读次数:
512
Nearest number - 2
Description
Input is the matrix A of N by N non-negative integers....
分类:
其他好文 时间:
2014-05-22 09:38:33
阅读次数:
236
1)基本使用
名称为“chain”的ResultType,在struts-default.xml里的配置如下:
chain是一种特殊的视图结果,用来将Action执行完之后链接到另一个Action中继续执行,新的Action使用上一个Action的上下文(ActionContext),数据也...
分类:
其他好文 时间:
2014-05-19 15:09:03
阅读次数:
228
1.点对点拓扑 point-to-point scheduling
该拓扑结构简单,整个网络的阻抗特性容易控制,时序关系也容易控制,常见于高速双向传输信号线;常在源端加串行匹配电阻来防止源端的二次反射。2.菊花链结构
daisy-chain scheduling 如下图所示,菊花链结构也...
分类:
其他好文 时间:
2014-05-19 12:50:38
阅读次数:
227
public class MainActivity extends Activity {
private ImageView operImage;
private PointF point = new PointF();//记录手指的位置
private PointF midPoint = new PointF();//记录手指间的中点的位置
private Matrix matrix...
分类:
移动开发 时间:
2014-05-18 18:44:57
阅读次数:
363
本文用讲一下指定分布的随机抽样方法:MC(Monte Carlo), MC(Markov Chain), MCMC(Markov Chain Monte Carlo)的基本原理,并用R语言实现了几个例子:
1. Markov Chain (马尔科夫链)
2. Random Walk(随机游走)
3. MCMC具体方法:
3.1 M-H法
3.2 Gibbs采样
PS:本篇blog为ese机器学习短期班参考资料(20140516课程)。...
分类:
其他好文 时间:
2014-05-15 23:58:14
阅读次数:
536
【题目】
原文:
1.7 Write an algorithm such that if an element in an MxN matrix is 0, its entire row and column is set to 0.
译文:
写一个函数处理一个MxN的矩阵,如果矩阵中某个元素为0,那么把它所在的行和列都置为0.
【分析】
【思路一】
遍历一次矩阵...
分类:
其他好文 时间:
2014-05-15 12:27:37
阅读次数:
293
Problem Description
Consider the following exercise, found in a generic linear algebra textbook.
Let A be an n × n matrix. Prove that the following statements are equivalent:
1. A is invertible...
分类:
其他好文 时间:
2014-05-15 01:30:21
阅读次数:
309
#1.清除规则iptables-F清除所有已订定的规则iptables-X杀掉所有使用者"自定义"的chain(应该说的是tables)iptables-Z将所有的chain的计数与流量统计都归零#2.设定政策iptables-PINPUTDROPiptables-POUTPUTACCEPTiptables-PFORWARDACCEPT#3~5.制订各项规则iptables-AINPUT-ilo-jA..
分类:
其他好文 时间:
2014-05-15 00:39:41
阅读次数:
244