generating numbers with fixed difference

3 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Shashank Prasanna
Shashank Prasanna il 22 Ott 2013
You can use simple indexing or linspace:

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by