can i obtain this vector ?
Afficher commentaires plus anciens
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 ?
Réponse acceptée
Plus de réponses (1)
Jan
le 20 Oct 2017
V = cumsum([3, 1, 3, 1, 3, 1]) - 2
Catégories
En savoir plus sur Resizing and Reshaping Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!