矩阵和数组
数组的创建、合并、重构、重新排列以及索引
矩阵和数组是 MATLAB® 中信息和数据的基本表示形式。您可以创建常用的数组和网格、合并现有数组、操作数组的形状和内容,以及使用索引访问数组元素。有关矩阵和数组处理的概述,请观看处理数组。
函数
主题
- 创建、串联和扩展矩阵
创建矩阵或根据其他矩阵来构造矩阵。
- 数组索引
通过指定数组元素的索引或检查元素是否满足条件来访问数组的元素。
- 从矩阵中删除行或列
删除矩阵的行或列。
- 重构和重新排列数组
更改现有数组中元素的形状或排列。
- 多维数组
创建和操作具有三个或更多维度的数组。
相关信息
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)