how could i generate a vector ?

8 vues (au cours des 30 derniers jours)
mimalo salina
mimalo salina le 9 Oct 2017
how can i generate this vector ? V3= [1 , 1/4 , 1/9 , 1/16 , 1/25 , … , 1/81 , 1/100]

Réponse acceptée

Guillaume
Guillaume le 9 Oct 2017
V3 = 1 ./ (1:10).^2

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB Coder dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by