vector with spacing (predefined)
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Venkata Brahma Teja Haridasu
el 18 de Abr. de 2021
Editada: Venkata Brahma Teja Haridasu
el 18 de Abr. de 2021
0 comentarios
Respuesta aceptada
David Fletcher
el 18 de Abr. de 2021
Maybe I am missing something, but this?
initial_value=-25;
step_size=5;
final_value=15;
vector=initial_value:step_size:final_value
0 comentarios
Más respuestas (1)
the cyclist
el 18 de Abr. de 2021
Does
v = -25:5:15
do what you want? Or maybe you meant
initial_value = -25;
step_size = 5;
final_value = 15;
v = initial_value : step_size : final_value
If neither of those is what you meant, then I don't understand.
1 comentario
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!