Constucting an array in column form
Mostrar comentarios más antiguos
Construct an array a (in column form) made of 17 (equally-spaced) values between 17 and 289.
Respuesta aceptada
Más respuestas (1)
Mischa Kim
el 25 de En. de 2014
Editada: Mischa Kim
el 25 de En. de 2014
0 votos
Use
c = linspace(17, 289, 19)
This results in 19 data points, including the two end points, 17 and 289. To switch between row and column vector simply use the "prime"
c'
Categorías
Más información sobre Resizing and Reshaping Matrices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!