Increasing numerator and denominator of vectors

2 views (last 30 days)
How do I generate a vector of the form 0, 1/2, 2/3, 3/4, 4/5...9/10?

Accepted Answer

madhan ravi
madhan ravi on 24 Jul 2019
[0,(1:9) ./ (2:10)]

More Answers (0)

Categories

Find more on MATLAB Code Analysis 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!