Linarray - alternative to linspace
Versione 1.0.0.0 (1,17 KB) da
James
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
Cita come
James (2024). Linarray - alternative to linspace (https://www.mathworks.com/matlabcentral/fileexchange/36124-linarray-alternative-to-linspace), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2011b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Creating and Concatenating Matrices in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |