matlab常用函数
来源:互联网 发布:邮票淘宝 编辑:程序博客网 时间:2024/05/22 11:35
1.
2.
A=rand(5)
A =
0.7733 0.2961 0.6054 0.4071 0.03180.7065 0.3604 0.0829 0.6173 0.81720.5596 0.4379 0.4743 0.4797 0.39740.0013 0.0400 0.3350 0.3974 0.42520.9327 0.8844 0.5378 0.8274 0.5774
B=rand(3)
B =
0.6794 0.6296 0.88290.1516 0.4597 0.85820.0909 0.2504 0.2984
mesh=conv2(A,B,’valid’)
mesh =
2.2366 1.7291 1.75501.3160 1.3673 1.77632.1357 2.2233 2.2204
mesh=conv2(A,B,’full’)
mesh =
0.5253 0.6880 1.2804 0.9192 0.8124 0.3795 0.02810.5972 1.0900 1.7986 1.3840 1.7286 1.4236 0.74880.5576 1.2498 2.2366 1.7291 1.7550 1.7086 1.06170.1499 0.5613 1.3160 1.3673 1.7763 1.6018 0.96030.6847 1.3747 2.1357 2.2233 2.2204 1.8732 0.99320.1415 0.5668 1.3294 1.2637 1.1676 1.2006 0.62240.0848 0.3140 0.5487 0.4738 0.4202 0.3915 0.1723
mesh=conv2(A,B,’same’)
mesh =
1.0900 1.7986 1.3840 1.7286 1.42361.2498 2.2366 1.7291 1.7550 1.70860.5613 1.3160 1.3673 1.7763 1.60181.3747 2.1357 2.2233 2.2204 1.87320.5668 1.3294 1.2637 1.1676 1.2006
‘full’ — Return the full 2-D convolution.
‘same’ — Return the central part of the convolution, which is the same size as A.
‘valid’ — Return only parts of the convolution that are computed without zero-padded edges.
3.
4.
A=rand(3)
A =
0.9355 0.4629 0.80310.3359 0.5980 0.15690.8194 0.7714 0.6698
B = padarray(A,[2 2],’replicate’,’both’)
B =
0.9355 0.9355 0.9355 0.4629 0.8031 0.8031 0.80310.9355 0.9355 0.9355 0.4629 0.8031 0.8031 0.80310.9355 0.9355 0.9355 0.4629 0.8031 0.8031 0.80310.3359 0.3359 0.3359 0.5980 0.1569 0.1569 0.15690.8194 0.8194 0.8194 0.7714 0.6698 0.6698 0.66980.8194 0.8194 0.8194 0.7714 0.6698 0.6698 0.66980.8194 0.8194 0.8194 0.7714 0.6698 0.6698 0.6698
‘both’:Pads before the first element and after the last array element along each dimension. This is the default.
‘post’:Pad after the last array element along each dimension.
‘pre’:Pad before the first array element along each dimension.
‘circular’:Pad with circular repetition of elements within the dimension.
‘replicate’:Pad by repeating border elements of array.
‘symmetric’:Pad array with mirror reflections of itself.
- [MATLAB]MATLAB常用函数
- [MATLAB]MATLAB常用函数[转]
- matlab 常用数学函数
- MATLAB常用函数
- matlab常用函数
- Matlab常用函数
- Matlab常用时间函数
- MATLAB常用函数
- MATLAB常用函数
- Matlab 常用图像函数
- MATLAB 常用函数
- matlab 常用函数
- matlab常用函数
- MATLAB中的常用函数
- 【整理】Matlab常用函数
- matlab常用函数
- Matlab常用函数
- MATLAB常用数学函数
- Eclipse中下载并使用Mybatis
- 领英:经济图谱在中国,为人才就业勾画新版图
- JAVA 8 In Action 读书笔记 (三) : Collect In Stream
- 1128: 课程平均分
- oracle查询一段时间内的数据
- matlab常用函数
- IDEA下SSH项目的配置(一)-配置strut2
- andriod 资源大全
- win10下安装Ubuntu遇到的一些问题
- 微信小程序 网络请求之设置合法域名
- 娓娓道来c指针 (3)指针和数组
- 1129: 第几天
- elasticsearch-doc_value和fieldata
- 第13周项目1-(2)验证分块查找算法