正在加载图片...
1-1 Creating Matrice Method 4: Generating a Numeric Sequence Because numeric sequences can often be useful in constructing and indexing into matrices and arrays MATLAB provides a special operator to assist in creating them The colon operator (first: last) generates a 1-by-n matrix(or vector) of sequential numbers from the first value to the last To generate a series that does not use the default of incrementing by 1, specify an additional value with the colon operator (first: step: last)1-1 Creating Matrice Because numeric sequences can often be useful in constructing and indexing into matrices and arrays, MATLAB provides a special operator to assist in creating them. Method 4: Generating a Numeric Sequence The colon operator (first:last) generates a 1-by-n matrix (or vector) of sequential numbers from the first value to the last. To generate a series that does not use the default of incrementing by 1, specify an additional value with the colon operator (first:step:last)
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有