Increasing numerator and denominator of vectors

1 次查看(过去 30 天)
How do I generate a vector of the form 0, 1/2, 2/3, 3/4, 4/5...9/10?

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by