- 博客(6)
- 资源 (1)
- 收藏
- 关注
转载 matlab的vectorize:将标量转化成向量
乘与点乘的区别(实际上就是矩阵乘除法,还是矩阵对应元素的乘除法(点乘)),如a=[1,2,3;4,5,6];a*a%这个是错的。因为矩阵乘法要求第一个矩阵的列数等于第二个矩阵的行数。但是a.*a是可以的。就是对应元素相乘。vectorize的含义就是将乘转成点乘等。cl
2011-07-29 20:32:01 6408
原创 Unix 改编权限chmod
In Unix, how do I change the permissions for a file?You can change file permissions with the chmod command. In Unix, file permissions, which
2011-07-25 20:38:04 1337
原创 Unix移动复制mv cp
mvThis command will move a file. You can use mv not only to change the directory location of a file, but also to rename files. Unlike the cp
2011-07-25 20:28:47 2381
原创 Unix显示当前目录pwd
pwdThis command reports the current directory path. Enter the command by itself: pwd
2011-07-25 20:19:27 1457
原创 Unix中find用法
To use the find command, at the Unix prompt, enter: find . -name "pattern" -printReplace "pattern" with a filename or matching expression,
2011-07-25 20:16:01 3346
转载 matlab 矩阵平均值
>> A=rand(3)a=mean(A,1) %按列平均b=mean(A,2) %按行平均c=mean(A(:)) %全部平均A =0.8134 0.8940 0.28760.7185 0.9507 0.92640.5008 0.4624 0.4963a =0.6776 0.7690 0.5701b =0.66500.86520.4865c
2011-07-05 10:57:25 13724
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人