Borrar filtros
Borrar filtros

generating numbers with fixed difference

2 visualizaciones (últimos 30 días)
SreeHarish Muppirisetty
SreeHarish Muppirisetty el 22 de Oct. de 2013
Respondida: Shashank Prasanna el 22 de Oct. de 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

Respuesta aceptada

Shashank Prasanna
Shashank Prasanna el 22 de Oct. de 2013
You can use simple indexing or linspace:

Más respuestas (0)

Categorías

Más información sobre Matrices and Arrays en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by