Linarray - alternative to linspace
Version 1.0.0.0 (1,17 ko) par
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
Citation pour cette source
James (2024). Linarray - alternative to linspace (https://www.mathworks.com/matlabcentral/fileexchange/36124-linarray-alternative-to-linspace), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2011b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur Creating and Concatenating Matrices dans Help Center et MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |