can i obtain this vector ?
Mostrar comentarios más antiguos
can anyone help me to obtain this vector: v=[1 2 5 6 9 10]; i want to know, if we can obtain a relation beteween the vector's elements ?
Respuesta aceptada
Más respuestas (1)
Jan
el 20 de Oct. de 2017
V = cumsum([3, 1, 3, 1, 3, 1]) - 2
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!