Main Home Quick tour Documentation Mailing Lists Demonstration Download Sourceforge project FAQ History Links
Toolboxes Char Control Crypto Finance FunFun General Graphics Image Internal InputOutput LinearAlgebra Matrix Miscellaneous Net Polynomial Set Signal SpecFun SpecialMatrix Statistics String System Time Trigonometric ...
Contact Developers
matrix = linspace(start, end, no of values)
Returns a matrix going from start to end with count elements.
A similar result can be obtained by using the colon operator.
linspace(0, 1, 11) = [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1] linspace(0, 10 , 3) = [0, 5, 10]
Last modified