Create a vector (1,25) with values increasing from 0-24
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Bastian
el 9 de Dic. de 2023
Comentada: DGM
el 10 de Dic. de 2023
i dont understand what i need to do hee i just wante to ask if i am doing this part correectly by doing this
Time= 1:5:24;
2 comentarios
Walter Roberson
el 9 de Dic. de 2023
If you had a vector that was the integers 1, 2, 3, 4, ... 25... then subtract 1.
DGM
el 10 de Dic. de 2023
Respuesta aceptada
Dyuman Joshi
el 9 de Dic. de 2023
Editada: Dyuman Joshi
el 9 de Dic. de 2023
From what I understood, you want to get a row vector having 25 elements with increasing values in the range [0 24].
y = linspace(0,24,25)
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Logical 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!