-
- 置顶 ·分享
签到积分
-
仅好友可见
packard 2018-1-16 00:58
-
tab= ; f_06clim = @(x) sum((mod(x,tab(:,1))==0).*tab(:,2:3)); accum=411;y=344; y=y+1; accum=accum+sum(f_06clim(y)); , jinqian /3 +1 /4 +2 /7 +2 /8 +3 /9 +5 /30 +20 /50 +30 /100+50 gongxian /10 +1 /20 +2 /30 +2 /50 +3 /100+5 24..16 27..16 28..14? 30..31+3 32..15 35..12 36..18 40..15+3 42 ...
-
个人分类: zhiding|0 个评论
-
- 分享
Matlab create function in script file (R2016b+)
-
packard 2018-8-22 23:12
-
https://www.mathworks.com/help/matlab/matlab_prog/create-functions-in-files.html Functions defined using keyword "function" must be defined within a file, not at the command line. Function defined in "function file" Often, you store a function in its own file. In that case, th ...
-
个人分类: matlab|70 次阅读|0 个评论
-
- 分享
Matlab fminsearch algorithm
-
packard 2018-8-21 09:22
-
https://www.mathworks.com/help/matlab/math/optimizing-nonlinear-functions.html#bsgpq6p-11
-
个人分类: matlab|78 次阅读|0 个评论
-
- 分享
[matlab] yyaxis - chart with 2 y-axes
-
packard 2018-4-26 13:02
-
yyaxis 可以画两个y轴的图。 但matlab没有xxaxis。
-
个人分类: matlab|102 次阅读|0 个评论
-
- 分享
Matlab transpose subplot index
-
packard 2018-3-9 12:49
-
subplot 的index是横着数的,比如subplot(3,4,3)是第一行,第三列。 如果想改过来竖着数,可以这样: f_tp = @(a,b,c) ceil(c/a) +b*mod(c-1,a); subplot(3,4,f_tp(3,4,m)); 这样 f_tp 可以把竖着数的 index 换算成横着数的index,投进subplot函数里面。 主要是一些循环里面,可以比较方便进行这个换算。
-
个人分类: matlab|43 次阅读|0 个评论
-
- 分享
Bootstrap 的置信区间
-
packard 2018-2-12 04:38
-
Bootstrap 是一种非参数的统计推断方法。 通过电脑随机再抽样(resample),可以得到一个统计量的直方图(histogram)如下。(盗图自 Efron 1981, http://www.jstor.org/stable/3314608 ) 直方图的百分位数可以很直观的给出一个置信区间,这是其中一种最简单的置信区间估计。(Basic percentile method) 独立同分布(iid ...
-
个人分类: matlab|833 次阅读|0 个评论
-
- 分享
相关系数 r 的误差估计-Bootstrap
-
packard 2018-2-8 12:23
-
Bootstrap的好处是不需要太多假设。(不假设正态分布) 论文请看 http://www.jstor.org/stable/2685844 Efron, B., Gong, G. (1983). A leisurely look at the bootstrap, the jackknife, and cross-validation. The American Statistician , 37 (1), 36-48. Matlab代码: load lawdata rng default % For ...
-
个人分类: matlab|776 次阅读|0 个评论
本页有 4 篇日志因作者的隐私设置或未通过审核而隐藏