how could i generate a vector ?

7 visualizzazioni (ultimi 30 giorni)
mimalo salina
mimalo salina il 9 Ott 2017
Risposto: Guillaume il 9 Ott 2017
how can i generate this vector ? V3= [1 , 1/4 , 1/9 , 1/16 , 1/25 , … , 1/81 , 1/100]

Risposta accettata

Guillaume
Guillaume il 9 Ott 2017
V3 = 1 ./ (1:10).^2

Più risposte (0)

Categorie

Scopri di più su MATLAB Coder in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by