create non uniform increment vector

Respuestas (2)

Robin Kirsch
Robin Kirsch el 12 de Jun. de 2020
Editada: Robin Kirsch el 12 de Jun. de 2020
a = [1:10 9:-1:1]
a =
Columns 1 through 13
1 2 3 4 5 6 7 8 9 10 9 8 7
Columns 14 through 19
6 5 4 3 2 1
KSSV
KSSV el 12 de Jun. de 2020
k = num2str([1:10 9:-1:1]) ;
k(k == ' ') = [] ;
k

Categorías

Más información sobre Programming en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 12 de Jun. de 2020

Respondida:

el 12 de Jun. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by