how could i generate a vector ?

7 views (last 30 days)
mimalo salina
mimalo salina on 9 Oct 2017
Answered: Guillaume on 9 Oct 2017
how can i generate this vector ? V3= [1 , 1/4 , 1/9 , 1/16 , 1/25 , … , 1/81 , 1/100]

Accepted Answer

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

More Answers (0)

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!