Linarray - alternative to linspace

Analogue to linspace, but inputs are: start value, spacing, and # points.

您现在正在关注此提交

outputarray = linarray(start,spacing,numpoints)

The function linarray generates an row vector based on a start value, a spacing, and a number of points. For example: linarray(1, 0.1, 5) returns:
[1.0000 1.1000 1.2000 1.3000 1.4000]

3/2/11 (c) James F. Mack

引用格式

James (2026). Linarray - alternative to linspace (https://ww2.mathworks.cn/matlabcentral/fileexchange/36124-linarray-alternative-to-linspace), MATLAB Central File Exchange. 检索时间: .

类别

Help CenterMATLAB Answers 中查找有关 Creating and Concatenating Matrices 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0