generating numbers with fixed difference

1 view (last 30 days)
I have my lower and upper bound numbers. 0 and 100 respectively. I want to generate numbers within these bounds with a fixed difference between successive numbers, say 0.1. Is there any Matlab function that does this?
Thank you Harish

Accepted Answer

Shashank Prasanna
Shashank Prasanna on 22 Oct 2013
You can use simple indexing or linspace:

More Answers (0)

Categories

Find more on Matrices and Arrays 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!