Borrar filtros
Borrar filtros

simple matlab command m=1:10 going up in values of 0.5

28 visualizaciones (últimos 30 días)
ahmed lamak
ahmed lamak el 1 de Sept. de 2016
Respondida: Geoff Hayes el 1 de Sept. de 2016
This is very silly but how would i make m=1:10 be values from 1 to 10 but instead of going up in integers go up in values of 0.5.
i.e. m =1 , 1.5, 2 , ..., 9.5 , 10

Respuesta aceptada

Geoff Hayes
Geoff Hayes el 1 de Sept. de 2016
ahmed - just try
m = 1:0.5:10;

Más respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by