How to do this one..??
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Maruti Patil
el 11 de Sept. de 2015
Comentada: Maruti Patil
el 11 de Sept. de 2015
Suppose I have three numbers 6 3 and 9
I want to assign
x1=lowest number
x3=highest number
x2= remaining number
How to do this??
0 comentarios
Respuesta aceptada
James Tursa
el 11 de Sept. de 2015
Editada: James Tursa
el 11 de Sept. de 2015
Put the numbers into a vector, sort the vector, then make assignments to your variables from this sorted vector.
1 comentario
Más respuestas (0)
Ver también
Categorías
Más información sobre Shifting and Sorting Matrices 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!