How can I arrange a vector in ascending order

2 visualizaciones (últimos 30 días)
Temikunfayo Obayemi
Temikunfayo Obayemi el 29 de Nov. de 2021
Respondida: Chunru el 29 de Nov. de 2021
How can I arrange a vector in ascending order D = (3 6 7 2 -4 7 3 2 )

Respuesta aceptada

Chunru
Chunru el 29 de Nov. de 2021
D = [3 6 7 2 -4 7 3 2 ]
D = 1×8
3 6 7 2 -4 7 3 2
D1 = sort(D)
D1 = 1×8
-4 2 2 3 3 6 7 7

Más respuestas (0)

Categorías

Más información sobre Dynamic System Models 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