generating numbers with fixed difference

1 Ansicht (letzte 30 Tage)
SreeHarish Muppirisetty
SreeHarish Muppirisetty am 22 Okt. 2013
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

Akzeptierte Antwort

Shashank Prasanna
Shashank Prasanna am 22 Okt. 2013
You can use simple indexing or linspace:

Weitere Antworten (0)

Kategorien

Mehr zu Entering Commands finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by