Whether you want MATLAB for personal use, commercial use, or use in teaching and academic research, there''s a MATLAB license that meets your needs. Select license details to see the price. Intended Use Standard. Startups. Academic. Student. Home. For use at a commercial, government, or other organization.
histogram(X) creates a histogram plot of X.The histogram function uses an automatic binning algorithm that returns bins with a uniform width, chosen to cover the range of elements in X and reveal the underlying shape of the distribution.histogram displays the bins as rectangular bars such that the height of each rectangle indicates the number of
C = A.^B raises each element of A to the corresponding powers in B.The sizes of A and B must be the same or be compatible.. If the sizes of A and B are compatible, then the two arrays implicitly expand to match each other. For example, if one of A or B is a scalar, then the scalar is combined with each element of the other array.
此 MATLAB 函数 返回数组的最高大元素。 如果 A 是向量,则 max(A) 返回 A 的最高大值。 如果 A 为矩阵,则 max(A) 是包含 A 的每一列的最高大值的行向量。 如果 A 是多维数组,则 max(A) 沿大小大于 1 的 A 的第一名个维度计算,并将这些元素视为向量。此维度中 M 的大小变为 1,而所有其他维度的大小仍与在 A 中
如果 A 是向量,则 sum(A) 返回元素之和。如果 A 是矩阵,则 sum(A) 将返回包含每列总和的行向量。如果 A 是多维数组,则 sum(A) 沿大小大于 1 的第一名个数组维度计算,并将这些元素视为向量。 此维度中 S 的大小变为 1,而所有其他维度的大小仍与在 A 中相同。如果 A 是表或时间表,则 sum(A) 返回