Create a row vector named x that starts at 1, ends at 5, and each element is separated by 0.5.
36 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
The : operator uses a default spacing of 1, however you can specify your own spacing, as shown below.
x = 20:2:26
x =
20 22 24 26
TASK
Create a row vector named x that starts at 1, ends at 5, and each element is separated by 0.5.
0 comentarios
Respuestas (1)
Ver también
Categorías
Más información sobre Get Started with MATLAB en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!