I did this for two numbers, but I find it difficult for an indefinite amount of numbers (as input vector).
I was thinking of a nested loop.
I have come to this point:
clear; V=input('Ingrese el vector V= '); n=length(V); % Ordenamiento
for i=1:n
Best Answer