Feeds
已回答
Sorting in Descending Order without SORT
clc; clear all N=input('N: '); for i=1:N x(i)=input('X;'); end disp(x); for j=1:N-1 eb=x(j);es=j; for i=j+1:...
Sorting in Descending Order without SORT
clc; clear all N=input('N: '); for i=1:N x(i)=input('X;'); end disp(x); for j=1:N-1 eb=x(j);es=j; for i=j+1:...
6 years 前 | 1