how could i generate a vector ?

9 visualizaciones (últimos 30 días)
mimalo salina
mimalo salina el 9 de Oct. de 2017
Respondida: Guillaume el 9 de Oct. de 2017
how can i generate this vector ? V3= [1 , 1/4 , 1/9 , 1/16 , 1/25 , … , 1/81 , 1/100]

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre MATLAB Coder en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by