Effacer les filtres
Effacer les filtres

generating numbers with fixed difference

2 vues (au cours des 30 derniers jours)
SreeHarish Muppirisetty
SreeHarish Muppirisetty le 22 Oct 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

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Matrices and Arrays dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by