2017-04-01 matlab notes

MATLAB中矩阵自由度太大了 >> a1=rand(3,3) a1 = 0.4995 0.7776 0.8518 0.3857 0.1247 0.3706 0.3022 0.5386 0.3524 >> ...

2017-04-01 09:13:38

阅读数 163

评论数 0

2017-03-31 matlab notes

Andrew NG Machine Learning 练习3中 for c = 1:num_labels          all_theta(c,:) = fmincg (@(t)(lrCostFunction(t, X, (y == c), lambda)), ...             ...

2017-03-31 15:56:30

阅读数 352

评论数 0

2017-03-28 matlab notes

size(x)获取x的维数 size(x,n)获取x的第n维 比如:a=rand(12,31,4,230) 那么:size(a,2)=31 size(a,3)=4 产生随机顺序矩阵 rand_indices = randperm(m);      % randperm r...

2017-03-28 14:23:33

阅读数 222

评论数 0

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